Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handle ¶
type Handle interface {
WithRepository(func(r Repository) error) error
Submodule(submodulePath string) (SubmoduleHandle, error)
Submodules() []SubmoduleHandle
}
Handle is a solution to get away from the worktree when working with the git repository, caching the necessary data from the worktree during initialization, and then working exclusively with git objects.
type Repository ¶
type SubmoduleHandle ¶
type SubmoduleHandle interface {
Handle
Config() *config.Submodule
Status() *git.SubmoduleStatus
}
Click to show internal directories.
Click to hide internal directories.