databricks-cli/internal
Denis Bilenko 4236e7122f
Switch to `folders.FindDirWithLeaf` (#1963)
## Changes
Remove two duplicate implementations of the same logic, switch
everywhere to folders.FindDirWithLeaf.

Add Abs() call to FindDirWithLeaf, it cannot really work on relative
paths.

## Tests
Existing tests.
2024-12-11 09:44:22 +01:00
..
acc Encode assumptions about the dashboards API in a test (#1839) 2024-10-18 15:42:05 +00:00
bugbash Add script to make testing of code on branches easier (#1844) 2024-10-21 17:56:17 +00:00
build Assert SDK version is consistent in the CLI generation process (#1814) 2024-10-14 16:19:48 +00:00
bundle Switch to `folders.FindDirWithLeaf` (#1963) 2024-12-11 09:44:22 +01:00
mocks Rewrite 'interface{} -> any' (#1959) 2024-12-05 15:37:24 +00:00
python Added test to submit and run various Python tasks on multiple DBR versions (#806) 2023-10-03 11:18:55 +00:00
testdata Add support for non-Python ipynb notebooks to DABs (#1827) 2024-11-13 21:39:51 +00:00
testjsons Update Go SDK to 0.23.0 and use custom marshaller (#772) 2023-10-16 06:56:06 +00:00
testutil Do not run mlops-stacks integration test in parallel (#1982) 2024-12-09 12:34:27 +00:00
alerts_test.go Fix integration tests after Go SDK bump (#1686) 2024-08-16 08:32:38 +00:00
api_test.go Rename bricks -> databricks (#389) 2023-05-16 18:35:39 +02:00
auth_describe_test.go Fixed typo in error template for auth describe (#1341) 2024-04-08 11:19:13 +00:00
clusters_test.go Remove global variable from clusters integration test (#1972) 2024-12-09 14:25:06 +00:00
completer_test.go Add trailing slash to directory to produce completions for (#1666) 2024-08-12 07:07:50 +00:00
dashboard_assumptions_test.go Bump github.com/databricks/databricks-sdk-go from 0.49.0 to 0.51.0 (#1878) 2024-11-13 13:40:53 +00:00
filer_test.go Fail filer integration test if error is nil (#1967) 2024-12-05 18:20:46 +00:00
fs_cat_test.go Add support for UC Volumes to the `databricks fs` commands (#1209) 2024-02-20 16:14:37 +00:00
fs_cp_test.go Add support for UC Volumes to the `databricks fs` commands (#1209) 2024-02-20 16:14:37 +00:00
fs_ls_test.go Add support for UC Volumes to the `databricks fs` commands (#1209) 2024-02-20 16:14:37 +00:00
fs_mkdir_test.go Fix `TestAccFsMkdirWhenFileExistsAtPath` in isolated Azure environments (#1833) 2024-10-16 12:50:17 +00:00
fs_rm_test.go Add support for UC Volumes to the `databricks fs` commands (#1209) 2024-02-20 16:14:37 +00:00
git_clone_test.go Remove resolution of repo names against the Databricks Github account (#940) 2023-11-01 13:02:06 +00:00
git_fetch_test.go Switch to `folders.FindDirWithLeaf` (#1963) 2024-12-11 09:44:22 +01:00
helpers.go Add error checking in tests and enable errcheck there (#1980) 2024-12-09 13:56:41 +01:00
init_test.go Add error checking in tests and enable errcheck there (#1980) 2024-12-09 13:56:41 +01:00
jobs_test.go Update Go SDK to 0.23.0 and use custom marshaller (#772) 2023-10-16 06:56:06 +00:00
locker_test.go Add error checking in tests and enable errcheck there (#1980) 2024-12-09 13:56:41 +01:00
repos_test.go Bump github.com/databricks/databricks-sdk-go from 0.47.0 to 0.48.0 (#1810) 2024-10-07 13:21:05 +00:00
secrets_test.go Enabled incorrectly skipped tests (#1280) 2024-03-14 12:56:21 +00:00
storage_credentials_test.go Enabled incorrectly skipped tests (#1280) 2024-03-14 12:56:21 +00:00
sync_test.go Bump github.com/databricks/databricks-sdk-go from 0.47.0 to 0.48.0 (#1810) 2024-10-07 13:21:05 +00:00
tags_test.go Add error checking in tests and enable errcheck there (#1980) 2024-12-09 13:56:41 +01:00
unknown_command_test.go Add regression tests for CLI error output (#1566) 2024-07-10 06:38:06 +00:00
version_test.go Use cmdio in version command for `--output` flag (#419) 2023-06-01 12:03:22 +02:00
workspace_test.go Print text logs in `import-dir` and `export-dir` commands (#1682) 2024-08-15 12:53:02 +00:00