build: delete dead code
@@ -12,7 +12,6 @@ import (
"sync"
"time"
- "github.com/openshift/source-to-image/pkg/util/cmd"
utilglog "github.com/openshift/source-to-image/pkg/util/glog"
s2ierr "github.com/openshift/source-to-image/pkg/errors"
@@ -50,15 +49,12 @@ type FileSystem interface {
// implementation
func NewFileSystem() FileSystem {
return &fs{
- runner: cmd.NewCommandRunner(),
fileModes: make(map[string]os.FileMode),
keepSymlinks: false,
}
}
type fs struct {
- runner cmd.CommandRunner
-
// on Windows, fileModes is used to track the UNIX file mode of every file we
// work with; m is used to synchronize access to fileModes.
fileModes map[string]os.FileMode
