Rename 'Server' to 'Repository'

This commit is contained in:
Alexander Neumann
2015-05-09 13:25:52 +02:00
parent 8be9e95d20
commit 87ebf12945
15 changed files with 109 additions and 109 deletions

View File

@@ -50,7 +50,7 @@ func NewSnapshot(paths []string) (*Snapshot, error) {
return sn, nil
}
func LoadSnapshot(s *repo.Server, id backend.ID) (*Snapshot, error) {
func LoadSnapshot(s *repo.Repository, id backend.ID) (*Snapshot, error) {
sn := &Snapshot{id: id}
err := s.LoadJSONUnpacked(backend.Snapshot, id, sn)
if err != nil {