rustc_incremental::persist::fs

Function lock_directory

Source
fn lock_directory(sess: &Session, session_dir: &Path) -> (Lock, PathBuf)
Expand description

Allocate the lock-file and lock it.