aboutsummaryrefslogtreecommitdiffstats
path: root/repository.go
diff options
context:
space:
mode:
authorJoshua Sjoding <joshua.sjoding@scjalliance.com>2016-02-01 21:07:28 -0800
committerJoshua Sjoding <joshua.sjoding@scjalliance.com>2016-02-01 21:07:28 -0800
commitd5696c0b75a115001e67025181663b8952b02691 (patch)
treead72a47e46eed0b2201ae80f2b94f049918ae7cd /repository.go
parent7ba1014b73e4d466320a29f7e3f47fcefe58695d (diff)
downloadgo-git-d5696c0b75a115001e67025181663b8952b02691.tar.gz
Renamed ObjectStorage Iter function to IterType
Diffstat (limited to 'repository.go')
-rw-r--r--repository.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/repository.go b/repository.go
index d0bc103..31e5fc7 100644
--- a/repository.go
+++ b/repository.go
@@ -100,7 +100,7 @@ func (r *Repository) Commit(h core.Hash) (*Commit, error) {
// Commits decode the objects into commits
func (r *Repository) Commits() *CommitIter {
- return NewCommitIter(r, r.Storage.Iter(core.CommitObject))
+ return NewCommitIter(r, r.Storage.IterType(core.CommitObject))
}
// Tree return the tree with the given hash