Rename 'Repo' -> 'Repository'

This commit is contained in:
Alexander Neumann
2015-05-09 23:59:58 +02:00
parent 232c472836
commit 95536e8a21
15 changed files with 73 additions and 73 deletions

View File

@@ -18,7 +18,7 @@ type Cache struct {
base string
}
func NewCache(repo *repository.Repo) (*Cache, error) {
func NewCache(repo *repository.Repository) (*Cache, error) {
cacheDir, err := getCacheDir()
if err != nil {
return nil, err
@@ -106,7 +106,7 @@ func (c *Cache) purge(t backend.Type, subtype string, id backend.ID) error {
}
// Clear removes information from the cache that isn't present in the repository any more.
func (c *Cache) Clear(repo *repository.Repo) error {
func (c *Cache) Clear(repo *repository.Repository) error {
list, err := c.list(backend.Snapshot)
if err != nil {
return err