Documentation
¶
Overview ¶
Package gitx answers the few git questions wtm asks about the current directory.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Current ¶ added in v0.10.0
type Current struct {
Path string // the working tree's own root, linked worktree or main repository
Branch string // empty on a detached HEAD
// Linked tells a worktree from the main repository: git keeps a linked
// worktree's own git directory under the common one, so the two differ
// there and are the same path everywhere else.
Linked bool
}
Current is where a command was typed, as git sees it.
Click to show internal directories.
Click to hide internal directories.