package
Version:
v0.10.257
Opens a new window with list of versions in this module.
Published: Jul 15, 2026
License: MIT
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Package reporoot resolves the current Git worktree root for review safety checks.
ErrUnavailable reports that the current process is not running inside a Git
worktree, so no invocation root is available.
Resolve returns the canonical Git worktree root for dir or the current
process directory when dir is empty.
GitCommand resolves a git command in an optional working directory.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.