| Crates.io | pawkit-fs |
| lib.rs | pawkit-fs |
| version | 0.1.2 |
| created_at | 2025-06-02 18:05:48.266857+00 |
| updated_at | 2025-06-23 21:16:14.38656+00 |
| description | PawKit's filesystem module |
| homepage | https://teamvulpine.com |
| repository | https://github.com/TeamVulpine/PawKit/tree/main/fs |
| max_upload_size | |
| id | 1698193 |
| size | 38,811 |
PawKit provides a Filesystem API, for handling game data. It's split into two sections, a Read-Only API, and a Read-Write API.
The RO API is made up of FilesystemSources, independent objects that handle their own files.
You're given a default source that represents the current working directory. You can create new sources from subdirectories or zip files from other sources. You can also create a new source from a raw zip file data.
The Read-Write API is based off of a virtual filesystem. In native land, that corresponds 1:1 to the actual filesystem. In JS land, that will be implemented on top of IndexedDB.
The virtual filesystem is a global construct, and has no local instance.