aboutsummaryrefslogtreecommitdiffstats
path: root/repository/git.go
diff options
context:
space:
mode:
Diffstat (limited to 'repository/git.go')
-rw-r--r--repository/git.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/repository/git.go b/repository/git.go
index 57c07c89..e89bae87 100644
--- a/repository/git.go
+++ b/repository/git.go
@@ -35,6 +35,14 @@ type GitRepo struct {
localStorage billy.Filesystem
}
+func (repo *GitRepo) ReadCommit(hash Hash) (Commit, error) {
+ panic("implement me")
+}
+
+func (repo *GitRepo) ResolveRef(ref string) (Hash, error) {
+ panic("implement me")
+}
+
// OpenGitRepo determines if the given working directory is inside of a git repository,
// and returns the corresponding GitRepo instance if it is.
func OpenGitRepo(path string, clockLoaders []ClockLoader) (*GitRepo, error) {