Skip to content

Commit

Permalink
Remove unused function from vfs storage driver
Browse files Browse the repository at this point in the history
Signed-off-by: Pierre Wacrenier <[email protected]>
  • Loading branch information
dustbyte committed Dec 22, 2014
1 parent d09421a commit c1e04fb
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions daemon/graphdriver/vfs/driver.go
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
package vfs

import (
"bytes"
"fmt"
"os"
"os/exec"
"path"

"github.com/docker/docker/daemon/graphdriver"
Expand Down Expand Up @@ -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 {
Expand Down

0 comments on commit c1e04fb

Please sign in to comment.