Move restic package to internal/restic

This commit is contained in:
Alexander Neumann
2017-07-24 17:42:25 +02:00
parent 94030a12cf
commit 23c903074c
179 changed files with 100 additions and 136 deletions

View File

@@ -5,8 +5,8 @@ import (
"io"
"time"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/debug"
"github.com/restic/restic/internal/restic"
"github.com/restic/restic/internal/errors"

View File

@@ -8,9 +8,9 @@ import (
"math/rand"
"testing"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/checker"
"github.com/restic/restic/internal/repository"
"github.com/restic/restic/internal/restic"
)
func loadBlob(t *testing.T, repo restic.Repository, id restic.ID, buf []byte) int {

View File

@@ -11,9 +11,8 @@ import (
"sync"
"time"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/errors"
"github.com/restic/restic/internal/restic"
"github.com/restic/restic/internal/walk"
"github.com/restic/restic/internal/debug"

View File

@@ -10,8 +10,8 @@ import (
"time"
"github.com/restic/restic/internal/errors"
"github.com/restic/restic/internal/restic"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/archiver"
"github.com/restic/restic/internal/mock"
"github.com/restic/restic/internal/repository"

View File

@@ -7,11 +7,11 @@ import (
"testing"
"time"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/archiver"
"github.com/restic/restic/internal/checker"
"github.com/restic/restic/internal/crypto"
"github.com/restic/restic/internal/repository"
"github.com/restic/restic/internal/restic"
. "github.com/restic/restic/internal/test"
"github.com/restic/restic/internal/errors"

View File

@@ -4,7 +4,7 @@ import (
"context"
"testing"
"github.com/restic/restic/internal"
"github.com/restic/restic/internal/restic"
)
// TestSnapshot creates a new snapshot of path.