Rust

file

Module

Advisory locks on files, shared between processes on one machine.

Contents

use utopia_lock::File;
Rust
pub struct File

An advisory lock on a file, held through an open handle. Two handles on the same path conflict, also within one process.

use utopia_lock::Mode;
Rust
pub enum Mode

Whether a File lock excludes every other holder or only exclusive ones.