Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 0 additions & 11 deletions cmd/fs/helpers.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ package fs
import (
"context"
"fmt"
"runtime"
"strings"

"github.com/databricks/cli/cmd/root"
Expand Down Expand Up @@ -32,16 +31,6 @@ func filerForPath(ctx context.Context, fullPath string) (filer.Filer, string, er
return f, path, err

case LocalScheme:
if runtime.GOOS == "windows" {
parts := strings.SplitN(path, ":", 2)
if len(parts) < 2 {
return nil, "", fmt.Errorf("no volume specified for path: %s", path)
}
volume := parts[0] + ":"
relPath := parts[1]
f, err := filer.NewLocalClient(volume)
return f, relPath, err
}
f, err := filer.NewLocalClient("/")
return f, path, err

Expand Down
26 changes: 0 additions & 26 deletions cmd/fs/helpers_test.go

This file was deleted.