rustc_incremental::persist::fs

Function lock_directory

source
fn lock_directory(
    sess: &Session,
    session_dir: &Path,
) -> Result<(Lock, PathBuf), ErrorGuaranteed>
Expand description

Allocate the lock-file and lock it.