Skip to main content

Module flock

Module flock 

Source
Expand description

Simple file-locking apis for each OS.

This is not meant to be in the standard library, it does nothing with green/native threading. This is just a bare-bones enough solution for librustdoc, it is not production quality at all.

Re-exportsยง

use std::fs::File; ๐Ÿ”’
use std::fs::OpenOptions; ๐Ÿ”’
use std::io; ๐Ÿ”’
use std::ops::Deref; ๐Ÿ”’
use std::path::Path; ๐Ÿ”’
use std::path::PathBuf; ๐Ÿ”’
use unix as fallback; ๐Ÿ”’

Modulesยง

unix ๐Ÿ”’

Structsยง

LockedDir
A directory together with a locked lockfile.

Enumsยง

Lock