{"modulePath":"github.com/evermake/git-diff-view","version":"v0.0.0-20231002085502-4681efcf838f","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package gitutil\n\n## Functions\n\n```go\nfunc IsBinary(ctx context.Context, repo string, revision string, path string) (bool, error)\n```\n\n```go\nfunc ReadFile(ctx context.Context, repo string, revision, path string) ([]byte, error)\n```\n\n```go\nfunc RevisionExists(ctx context.Context, repo string, revision string) (bool, error)\n```\n\n## Types\n\n```go\ntype Branch struct {\n\tName string\n}\n```\n\n```go\nfunc Branches(ctx context.Context, repo string) ([]Branch, error)\n```\n\n```go\ntype CommitPreview struct {\n\tSHA1    []byte\n\tMessage string\n}\n```\n\n```go\nfunc BranchCommits(ctx context.Context, repo string, branch string) ([]CommitPreview, error)\n```\n\n","path":"github.com/evermake/git-diff-view/pkg/gitutil","name":"gitutil","synopsis":"","isRedistributable":true}
