Expand description
Aldaron’s Device Interface - Storage (adi_storage) is a Rust library for interfacing with a persistent storage device (ie: hard drive, solid state drive, sd card, flash drive, etc.).
Macros§
- Save a file.
- Storage
Structs§
- A persistent storage device.
Enums§
- Whether a path is a file or a folder.
Functions§
- Duplicate a file.
- Returns true only if
filepath
exists. - Get the permissions of a file.
- Load a file.
- Make a folder.
- Move or rename a file ( change it’s path ).
- Get the type of file at
path
, orNone
if there is no file atpath
. - Delete a file.
- Delete a folder and all of it’s contents ( use carefully ).
- Save a file.
- Set the permissions of a file.