Rename package 'server' to 'repo'

This commit is contained in:
Alexander Neumann committed 2015-05-09 13:24:15 +02:00
1 parent 1d37fe3f97
commit 8be9e95d20
23 files changed
+63 -63

No files matched your search

+3 -3
View File
@@ -15,7 +15,7 @@ import (
"github.com/restic/restic/debug"
"github.com/restic/restic/pack"
"github.com/restic/restic/pipe"
"github.com/restic/restic/server"
"github.com/restic/restic/repo"
"github.com/juju/errors"
)
@@ -30,7 +30,7 @@ var archiverAllowAllFiles = func(string, os.FileInfo) bool { return true }
// Archiver is used to backup a set of directories.
type Archiver struct {
s *server.Server
s *repo.Server
blobToken chan struct{}
@@ -39,7 +39,7 @@ type Archiver struct {
}
// NewArchiver returns a new archiver.
func NewArchiver(s *server.Server) *Archiver {
func NewArchiver(s *repo.Server) *Archiver {
arch := &Archiver{
s: s,
blobToken: make(chan struct{}, maxConcurrentBlobs),