Fix comments

This commit is contained in:
Alexander Neumann
2015-05-09 13:35:55 +02:00
parent d9b5832034
commit 5fc1583acc
2 changed files with 5 additions and 5 deletions

View File

@@ -13,7 +13,7 @@ import (
"github.com/restic/restic/repo"
)
// Cache is used to locally cache items from a server.
// Cache is used to locally cache items from a repository.
type Cache struct {
base string
}
@@ -105,7 +105,7 @@ func (c *Cache) purge(t backend.Type, subtype string, id backend.ID) error {
return err
}
// Clear removes information from the cache that isn't present in the server any more.
// Clear removes information from the cache that isn't present in the repository any more.
func (c *Cache) Clear(repo *repo.Repository) error {
list, err := c.list(backend.Snapshot)
if err != nil {