# Functions
Abs returns an absolute representation of path.
Basename returns the last element of path, which contains file extension.
Chdir changes the current working directory to the named directory.
See os.Chmod.
Create creates file with given <path> recursively.
Dir returns all but the last element of path, typically the path's directory.
DirNames returns sub-file names of given directory <path>.
Exists checks whether given <path> exist.
Ext returns the file name extension used by path.
ExtName is like function Ext, which returns the file name extension used by path, but the result does not contains symbol '.'.
FormatSize formats size <raw> for more human readable.
GetBytes returns the file content of <path> as []byte.
GetBytesByTwoOffsets returns the binary content as []byte from <start> to <end>.
GetBytesByTwoOffsetsByPath returns the binary content as []byte from <start> to <end>.
GetBytesTilChar returns the contents of the file as []byte until the next specified byte <char> position.
GetBytesTilCharByPath returns the contents of the file given by <path> as []byte until the next specified byte <char> position.
GetContents returns the file content of <path> as string.
GetNextCharOffset returns the file offset for given <char> starting from <start>.
GetNextCharOffsetByPath returns the file offset for given <char> starting from <start>.
Glob returns the names of all files matching pattern or nil if there is no matching file.
Home returns absolute path of current user's home directory.
Alias of Stat.
IsDir checks whether given <path> a directory.
IsEmpty checks whether the given <path> is empty.
IsFile checks whether given <path> a file, which means it's not a directory.
IsReadable checks whether given <path> is readable.
IsWritable checks whether given <path> is writable.
Mkdir creates directories recursively with given <path>.
Move renames (moves) <src> to <dst> path.
MTime returns the modification time of file given by <path> in second.
MTimestamp returns the modification time of file given by <path> in second.
MTimestampMilli returns the modification time of file given by <path> in millisecond.
Name returns the last element of path without file extension.
Open opens file/directory READONLY.
OpenFile opens file/directory with custom <flag> and <perm>.
OpenWithFlag opens file/directory with default perm and custom <flag>.
OpenWithFlagPerm opens file/directory with custom <flag> and <perm>.
PutBytes puts binary <content> to file of <path>.
PutBytesAppend appends binary <content> to file of <path>.
PutContents puts string <content> to file of <path>.
PutContentsAppend appends string <content> to file of <path>.
Pwd returns absolute path of current working directory.
ReadableSize formats size of file given by <path>, for more human readable.
ReadByteLines reads file content line by line, which is passed to the callback function <callback> as []byte.
ReadLines reads file content line by line, which is passed to the callback function <callback> as string.
ReadLinesBytes reads file content line by line, which is passed to the callback function <callback> as []byte.
RealPath converts the given <path> to its absolute path and checks if the file path exists.
Remove deletes all file/directory with <path> parameter.
Rename is alias of Move.
SelfDir returns absolute directory path of current running process(binary).
SelfName returns file name of current running process(binary).
SelfPath returns absolute file path of current running process(binary).
Size returns the size of file specified by <path> in byte.
SizeFormat returns the size of file specified by <path> in format string.
Stat returns a FileInfo describing the named file.
StrToSize converts formatted size string to its size in bytes.
Truncate truncates file of <path> to given size by <size>.
# Variables
DefaultPermCopy is the default perm for file/folder copy.
DefaultPerm is the default perm for file opening.
DefaultReadBuffer is the buffer size for reading file content.
Separator for file system.