package
0.0.0-20240917233439-52c43cfeb897
Repository: https://github.com/kovirobi/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
OpAdd indicates an added line.
OpContext indicates a context line.
OpDelete indicates a deleted line.
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.
No description provided by the author
No description provided by the author
No description provided by the author
GitRepo represents an instance of a (local) git repository.
Tree represents a directory stored in a repository.