*: 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

@ -7,8 +7,8 @@ import (
"os"
"path/filepath"
"github.com/containers/storage/pkg/archive"
"github.com/containers/storage/pkg/idtools"
"github.com/containers/pkg/archive"
"github.com/containers/pkg/idtools"
)
var chrootArchiver = &archive.Archiver{Untar: Untar}

View file

@ -13,9 +13,9 @@ import (
"testing"
"time"
"github.com/containers/storage/pkg/archive"
"github.com/containers/storage/pkg/reexec"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/archive"
"github.com/containers/pkg/reexec"
"github.com/containers/pkg/system"
)
func init() {

View file

@ -12,8 +12,8 @@ import (
"os"
"runtime"
"github.com/containers/storage/pkg/archive"
"github.com/containers/storage/pkg/reexec"
"github.com/containers/pkg/archive"
"github.com/containers/pkg/reexec"
)
// untar is the entry-point for storage-untar on re-exec. This is not used on

View file

@ -3,8 +3,8 @@ package chrootarchive
import (
"io"
"github.com/containers/storage/pkg/archive"
"github.com/containers/storage/pkg/longpath"
"github.com/containers/pkg/archive"
"github.com/containers/pkg/longpath"
)
// chroot is not supported by Windows

View file

@ -7,7 +7,7 @@ import (
"path/filepath"
"syscall"
"github.com/containers/storage/pkg/mount"
"github.com/containers/pkg/mount"
)
// chroot on linux uses pivot_root instead of chroot

View file

@ -1,6 +1,6 @@
package chrootarchive
import "github.com/containers/storage/pkg/archive"
import "github.com/containers/pkg/archive"
// ApplyLayer parses a diff in the standard layer format from `layer`,
// and applies it to the directory `dest`. The stream `layer` can only be

View file

@ -12,9 +12,9 @@ import (
"path/filepath"
"runtime"
"github.com/containers/storage/pkg/archive"
"github.com/containers/storage/pkg/reexec"
"github.com/containers/storage/pkg/system"
"github.com/containers/pkg/archive"
"github.com/containers/pkg/reexec"
"github.com/containers/pkg/system"
)
type applyLayerResponse struct {

View file

@ -6,8 +6,8 @@ import (
"os"
"path/filepath"
"github.com/containers/storage/pkg/archive"
"github.com/containers/storage/pkg/longpath"
"github.com/containers/pkg/archive"
"github.com/containers/pkg/longpath"
)
// applyLayerHandler parses a diff in the standard layer format from `layer`, and

View file

@ -8,7 +8,7 @@ import (
"io/ioutil"
"os"
"github.com/containers/storage/pkg/reexec"
"github.com/containers/pkg/reexec"
)
func init() {