package
0.0.0-20230812010605-be4751005fb4
Repository: https://github.com/google/git-appraise.git
Documentation: pkg.go.dev
# Functions
NewBlob returns a new *Blob object tied to the given repo with the given contents.
NewGitRepo determines if the given working directory is inside of a git repository, and returns the corresponding GitRepo instance if it is.
NewMockRepoForTest returns a mocked-out instance of the Repo interface that has been pre-populated with test data.
NewTree constructs a new *Tree object tied to the given repo with the given contents.
# Constants
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
Constants used for testing.
# Structs
Blob represents a (non-directory) file stored in a repository.
CommitDetails represents the contents of a commit.
GitRepo represents an instance of a (local) git repository.
Tree represents a directory stored in a repository.
# Type aliases
Note represents the contents of a git-note.