package
0.0.3
Repository: https://github.com/weaveworks/libgitops.git
Documentation: pkg.go.dev

# Functions

Create a new GitDirectory implementation.
No description provided by the author
NewSSHAuthMethod creates a new AuthMethod for the Git SSH protocol, using a given identity and known_hosts file.

# Variables

ErrCannotWriteToReadOnly happens if you try to do a write operation for a non-authenticated Git repo.
ErrNotStarted happens if you try to operate on the gitDirectory before you have started it with StartCheckoutLoop.

# Structs

GitDirectoryOptions provides options for the gitDirectory.

# Interfaces

AuthMethod specifies the authentication method and related credentials for connecting to a Git repository.
GitDirectory is an abstraction layer for a temporary Git clone.