Package file provides functions for dealing with files.
Scope is a scope containing the functions in this package.
Append is a WDTE function with the following signature:
Opens the file at path for appending, creating it if it doesn't already exist, and returns it.
Create is a WDTE function with the following signature:
Creates the file at path, truncating it if it already exists, and returns it.
Open is a WDTE function with the following signature:
Opens the file at path and returns it.
File wraps an os.File, allowing it to be used as a WDTE function. While it contains unexproted fields, it is safe for a client to simply wrap an *os.File in it manually.
A file is considered a "File" by reflection, as well as a "Reader" if it is opened for reading and a "Writer" if it is opened for writing. If the file was created manually, it will be considered both a reader and a writer.