Module cacao::filesystem
source · [−]Re-exports
pub use manager::FileManager;
pub use save::FileSavePanel;
pub use select::FileSelectPanel;
pub use enums::*;
pub use traits::*;
Modules
Certain enums that are useful (response types, etc).
A wrapper for NSFileManager
, which is necessary for macOS/iOS (the sandbox makes things
tricky, and this transparently handles it for you).
Implements FileSavePanel
, which allows the user to select where a file should be saved.
It currently doesn’t implement everything necessary, but it’s functional
enough for general use.
Implements FileSelectPanel
, which allows the user to select files for processing and hands you
urls to work with. It currently doesn’t implement everything necessary, but it’s functional
enough for general use.
A trait that you can implement to handle open and save file dialogs. This more or less maps
over to NSOpenPanel
and NSSavePanel
handling.