Len returns number of remote repos
()
| 1019 | |
| 1020 | // Len returns number of remote repos |
| 1021 | func (collection *RemoteRepoCollection) Len() int { |
| 1022 | return len(collection.db.KeysByPrefix([]byte("R"))) |
| 1023 | } |
| 1024 | |
| 1025 | // Drop removes remote repo from collection |
| 1026 | func (collection *RemoteRepoCollection) Drop(repo *RemoteRepo) error { |
no test coverage detected