{"ast_node_type":"function","tokens":[{"end":81,"kind":"keyword","start":0,"text":"fn"}]}
fn lock_directory(sess: &Session, session_dir: &Path) -> (flock::Lock, PathBuf) {
/// Allocate the lock-file and lock it.
    let lock_file_path = lock_file_path(session_dir);