Import with #import "std/guest_files".
FILE_MISSING :: -1FILE_DIRECTORY :: -2FileStatus :: (path: string) -> s64Needs a host capability.
FileRead :: (path: string) -> (string, bool)The whole file, or ok false when it is missing, a directory or unreadable.
Needs a host capability.
FileWrite :: (path: string, data: string) -> boolReplaces the file with data; false when it could not be written.
Needs a host capability.
FileRemove :: (path: string) -> boolNeeds a host capability.
FileRename :: (source: string, destination: string) -> boolNeeds a host capability.
DirectoryMake :: (path: string) -> boolNeeds a host capability.
DirectoryList :: (path: string) -> stringNeeds a host capability.