diff options
author | Michael Muré <batolettre@gmail.com> | 2020-12-21 11:05:47 +0100 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2021-02-14 12:18:59 +0100 |
commit | 5c4e7de01281da51e32b4926dc0ef15b17a2d397 (patch) | |
tree | 505bab1389c6ce3fd10427fdfa266405b7250611 /repository/git.go | |
parent | 5f6a39145d9ac109d430190d0d352544d27b6561 (diff) | |
download | git-bug-5c4e7de01281da51e32b4926dc0ef15b17a2d397.tar.gz |
repository: partially add two new functions to RepoData
Diffstat (limited to 'repository/git.go')
-rw-r--r-- | repository/git.go | 8 |
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) { |