Skip to main content

lock_directory

Function lock_directory 

Source
fn lock_directory(
    sess: &Session,
    session_dir: &Path,
    new_session: bool,
) -> Option<LockedDir>
Expand description

Allocate the lock-file, lock it and create the session directory if requested.