A bit of niceness: more hints for first-time user.

This commit is contained in:
Andrey Smirnov committed 2014-01-10 13:21:37 +04:00
1 parent 356187f3ae
commit 01338d6037
6 files changed
+40 -16

No files matched your search

+5
View File
@@ -358,3 +358,8 @@ func (collection *RemoteRepoCollection) ForEach(handler func(*RemoteRepo) error)
}
return err
}
// Len returns number of remote repos
func (collection *RemoteRepoCollection) Len() int {
return len(collection.list)
}