Skip to content

Commit f23c6ad

Browse files
authored
Move folders package into libs (#1184)
## Changes This is the last top-level package that doesn't need to be top-level.
1 parent a3c4786 commit f23c6ad

6 files changed

Lines changed: 5 additions & 5 deletions

File tree

bundle/bundle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import (
1616
"github.com/databricks/cli/bundle/config"
1717
"github.com/databricks/cli/bundle/env"
1818
"github.com/databricks/cli/bundle/metadata"
19-
"github.com/databricks/cli/folders"
19+
"github.com/databricks/cli/libs/folders"
2020
"github.com/databricks/cli/libs/git"
2121
"github.com/databricks/cli/libs/locker"
2222
"github.com/databricks/cli/libs/log"

bundle/root.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77

88
"github.com/databricks/cli/bundle/config"
99
"github.com/databricks/cli/bundle/env"
10-
"github.com/databricks/cli/folders"
10+
"github.com/databricks/cli/libs/folders"
1111
)
1212

1313
// getRootEnv returns the value of the bundle root environment variable

cmd/labs/project/installed.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ import (
88
"os"
99
"path/filepath"
1010

11-
"github.com/databricks/cli/folders"
1211
"github.com/databricks/cli/libs/env"
12+
"github.com/databricks/cli/libs/folders"
1313
"github.com/databricks/cli/libs/log"
1414
)
1515

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ func TestFindDirWithLeaf(t *testing.T) {
1313
wd, err := os.Getwd()
1414
require.NoError(t, err)
1515

16-
root := filepath.Join(wd, "..")
16+
root := filepath.Join(wd, "..", "..")
1717

1818
// Find from working directory should work.
1919
{

libs/git/repository.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import (
77
"path/filepath"
88
"strings"
99

10-
"github.com/databricks/cli/folders"
10+
"github.com/databricks/cli/libs/folders"
1111
)
1212

1313
const gitIgnoreFileName = ".gitignore"

0 commit comments

Comments
 (0)