Remove unused function from vfs storage driver

Signed-off-by: Pierre Wacrenier <pierre.wacrenier@gmail.com>
This commit is contained in:
Pierre Wacrenier 2014-12-23 00:05:41 +01:00
parent d09421a74f
commit c1e04fbb15

View file

@ -1,10 +1,8 @@
package vfs
import (
"bytes"
"fmt"
"os"
"os/exec"
"path"
"github.com/docker/docker/daemon/graphdriver"
@ -39,14 +37,6 @@ func (d *Driver) Cleanup() error {
return nil
}
func isGNUcoreutils() bool {
if stdout, err := exec.Command("cp", "--version").Output(); err == nil {
return bytes.Contains(stdout, []byte("GNU coreutils"))
}
return false
}
func (d *Driver) Create(id, parent string) error {
dir := d.dir(id)
if err := os.MkdirAll(path.Dir(dir), 0700); err != nil {