aboutsummaryrefslogtreecommitdiffstats
path: root/repository/git.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2020-12-21 11:05:47 +0100
committerMichael Muré <batolettre@gmail.com>2021-02-14 12:18:59 +0100
commit5c4e7de01281da51e32b4926dc0ef15b17a2d397 (patch)
tree505bab1389c6ce3fd10427fdfa266405b7250611 /repository/git.go
parent5f6a39145d9ac109d430190d0d352544d27b6561 (diff)
downloadgit-bug-5c4e7de01281da51e32b4926dc0ef15b17a2d397.tar.gz
repository: partially add two new functions to RepoData
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) {