aboutsummaryrefslogtreecommitdiffstats
path: root/core
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 /core
parent7ba1014b73e4d466320a29f7e3f47fcefe58695d (diff)
downloadgo-git-d5696c0b75a115001e67025181663b8952b02691.tar.gz
Renamed ObjectStorage Iter function to IterType
Diffstat (limited to 'core')
-rw-r--r--core/object.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/object.go b/core/object.go
index 205de95..2c41245 100644
--- a/core/object.go
+++ b/core/object.go
@@ -21,7 +21,7 @@ type ObjectStorage interface {
New() Object
Set(Object) Hash
Get(Hash) (Object, bool)
- Iter(ObjectType) ObjectIter
+ IterType(ObjectType) ObjectIter
}
// ObjectType internal object type's
@@ -189,7 +189,7 @@ func (o *RAWObjectStorage) Get(h Hash) (Object, bool) {
return obj, ok
}
-func (o *RAWObjectStorage) Iter(t ObjectType) ObjectIter {
+func (o *RAWObjectStorage) IterType(t ObjectType) ObjectIter {
var series []Object
switch t {
case CommitObject: