Remove unused function from vfs storage driver
Signed-off-by: Pierre Wacrenier <pierre.wacrenier@gmail.com>
This commit is contained in:
parent
d09421a74f
commit
c1e04fbb15
1 changed files with 0 additions and 10 deletions
|
@ -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 {
|
||||
|
|
Loading…
Reference in a new issue