diff options
Diffstat (limited to 'repository/git.go')
-rw-r--r-- | repository/git.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/repository/git.go b/repository/git.go index e4cb57e69..83037307e 100644 --- a/repository/git.go +++ b/repository/git.go @@ -337,8 +337,8 @@ func (repo *GitRepo) ListCommits(ref string) ([]git.Hash, error) { } -// ListEntries will return the list of entries in a Git tree -func (repo *GitRepo) ListEntries(hash git.Hash) ([]TreeEntry, error) { +// ReadTree will return the list of entries in a Git tree +func (repo *GitRepo) ReadTree(hash git.Hash) ([]TreeEntry, error) { stdout, err := repo.runGitCommand("ls-tree", string(hash)) if err != nil { |