*: import paths and a README

This will make the packaages/components individually more consumable

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2017-04-18 14:58:56 -04:00
parent b52074c355
commit 9a67c61b15
Signed by: vbatts
GPG key ID: 10937E57733F1362
37 changed files with 65 additions and 54 deletions

View file

@ -18,12 +18,12 @@ import (
"syscall"
"github.com/Sirupsen/logrus"
"github.com/containers/storage/pkg/fileutils"
"github.com/containers/storage/pkg/idtools"
"github.com/containers/storage/pkg/ioutils"
"github.com/containers/storage/pkg/pools"
"github.com/containers/storage/pkg/promise"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/fileutils"
"github.com/containers/pkg/idtools"
"github.com/containers/pkg/ioutils"
"github.com/containers/pkg/pools"
"github.com/containers/pkg/promise"
"github.com/containers/pkg/system"
)
type (

View file

@ -7,7 +7,7 @@ import (
"strings"
"syscall"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/system"
)
func getWhiteoutConverter(format WhiteoutFormat) tarWhiteoutConverter {

View file

@ -9,7 +9,7 @@ import (
"path/filepath"
"syscall"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/system"
)
// fixVolumePathPrefix does platform specific processing to ensure that if

View file

@ -11,7 +11,7 @@ import (
"syscall"
"testing"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/system"
)
func TestCanonicalTarNameForPath(t *testing.T) {

View file

@ -9,7 +9,7 @@ import (
"path/filepath"
"strings"
"github.com/containers/storage/pkg/longpath"
"github.com/containers/pkg/longpath"
)
// fixVolumePathPrefix does platform specific processing to ensure that if

View file

@ -14,9 +14,9 @@ import (
"time"
"github.com/Sirupsen/logrus"
"github.com/containers/storage/pkg/idtools"
"github.com/containers/storage/pkg/pools"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/idtools"
"github.com/containers/pkg/pools"
"github.com/containers/pkg/system"
)
// ChangeType represents the change type.

View file

@ -9,7 +9,7 @@ import (
"syscall"
"unsafe"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/system"
)
// walker is used to implement collectFileInfoForChanges on linux. Where this

View file

@ -9,7 +9,7 @@ import (
"runtime"
"strings"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/system"
)
func collectFileInfoForChanges(oldDir, newDir string) (*FileInfo, *FileInfo, error) {

View file

@ -10,7 +10,7 @@ import (
"testing"
"time"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/system"
)
func max(x, y int) int {

View file

@ -6,7 +6,7 @@ import (
"os"
"syscall"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/system"
)
func statDifferent(oldStat *system.StatT, newStat *system.StatT) bool {

View file

@ -3,7 +3,7 @@ package archive
import (
"os"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/system"
)
func statDifferent(oldStat *system.StatT, newStat *system.StatT) bool {

View file

@ -10,7 +10,7 @@ import (
"strings"
"github.com/Sirupsen/logrus"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/system"
)
// Errors used or returned by this file.

View file

@ -11,9 +11,9 @@ import (
"strings"
"github.com/Sirupsen/logrus"
"github.com/containers/storage/pkg/idtools"
"github.com/containers/storage/pkg/pools"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/idtools"
"github.com/containers/pkg/pools"
"github.com/containers/pkg/system"
)
// UnpackLayer unpack `layer` to a `dest`. The stream `layer` can be

View file

@ -10,7 +10,7 @@ import (
"runtime"
"testing"
"github.com/containers/storage/pkg/ioutils"
"github.com/containers/pkg/ioutils"
)
func TestApplyLayerInvalidFilenames(t *testing.T) {

View file

@ -14,7 +14,7 @@ import (
"path"
"github.com/Sirupsen/logrus"
"github.com/containers/storage/pkg/archive"
"github.com/containers/pkg/archive"
)
var (