Functionsยง
- clear_
unlock_ session - Remove the unlock session file, locking the repository.
- git_
common_ dir - Resolve the Git common directory for the current working directory.
- git_dir
- Resolve the Git directory for the current working directory.
- git_
toplevel - Resolve the working-tree root for the current working directory.
- is_
linked_ worktree - Returns
truewhen the current working directory is inside a linked (non-main) Git worktree. - read_
unlock_ session - Read the current unlock session, if one exists.
- session_
file - write_
unlock_ session - Persist the unlock session to disk.