tinymist_std::fs

Module flock

Source
Expand description

Upstream: https://github.com/rust-lang/cargo/blob/rust-1.83.0/src/cargo/util/flock.rs 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.

Structs§

  • A locked file.
  • A “filesystem” is intended to be a globally shared, hence locked, resource in Cargo.