fs: remove fsutils package

No need to have a util package under a package... er, package.

We should move most of this functionality to continuity.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
This commit is contained in:
Stephen J Day 2017-05-15 15:13:38 -07:00
parent 7b2bf52f62
commit 320dd70935
No known key found for this signature in database
GPG Key ID: 67B3DED84EDC823F
3 changed files with 3 additions and 4 deletions

View File

@ -1,6 +1,6 @@
// +build linux
package fsutils
package fs
import (
"fmt"

View File

@ -1,6 +1,6 @@
// +build linux
package fsutils
package fs
import (
"io/ioutil"

View File

@ -12,7 +12,6 @@ import (
"github.com/containerd/containerd"
"github.com/containerd/containerd/fs"
"github.com/containerd/containerd/fs/fsutils"
"github.com/containerd/containerd/log"
"github.com/containerd/containerd/plugin"
"github.com/containerd/containerd/snapshot"
@ -48,7 +47,7 @@ func NewSnapshotter(root string) (snapshot.Snapshotter, error) {
if err := os.MkdirAll(root, 0700); err != nil {
return nil, err
}
supportsDType, err := fsutils.SupportsDType(root)
supportsDType, err := fs.SupportsDType(root)
if err != nil {
return nil, err
}