Expand description
File and file system access
Structs§
- DirTable
- The table of open directories. Curiously, Unix/POSIX does not unify this into the “file descriptor” concept… everything is a file, except a directory is not?
- FileMetadata 🔒
- Stores a file’s metadata in order to avoid code duplication in the different metadata related shims.
- OpenDir 🔒
- An open directory, tracked by DirHandler.
Traits§
Functions§
- extract_sec_ 🔒and_ nsec 
- Extracts the number of seconds and nanoseconds elapsed between timeand the unix epoch whentimeis Ok. ReturnsNoneiftimeis an error. Fails iftimehappens before the unix epoch.
- maybe_sync_ 🔒file