Modules§
Structs§
- File
Options - File
Stat - Fs
- Playdate File-system API.
Functions§
- create_
dir - Creates the given
pathin theData/<gameid>folder. - metadata
- Given a path, query the file system to get information about a file, directory, etc.
- read
- Read the entire contents of a file into a bytes vector.
- read_
to_ string - Read the entire contents of a file into a string.
- remove
- Removes a file from the filesystem. Directory is a file too.
- remove_
dir_ all - Removes a directory and all of its contents recursively.
- rename
- Renames the file at
fromtoto. - write
- Write a bytes of the entire
contentsof a file.