Function rustc_incremental::persist::fs::lock_directory[−][src]

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

Allocate the lock-file and lock it.