Expand description
File-locking support.
This module defines the Filesystem
type which is an abstraction over a
filesystem, ensuring that access to the filesystem is only done through
coordinated locks.
The FileLock
type represents a locked file, and provides access to the
file.
Modules§
- sys 🔒
Structs§
- A locked file.
- A “filesystem” is intended to be a globally shared, hence locked, resource in Cargo.
Functions§
- acquire 🔒Acquires a lock on a file in a “nice” manner.