databricks-cli/bundle/artifacts
Pieter Noordhuis ceefa80d72
Pass copy of `dyn.Path` to callback function (#1747)
## Changes

Some call sites hold on to the `dyn.Path` provided to them by the
callback. It must therefore never be mutated after the callback returns,
or these mutations leak out into unknown scope.

This change means it is no longer possible for this failure mode to
happen.

## Tests

Unit test.
2024-09-05 11:05:16 +00:00
..
whl Make `pydabs/venv_path` optional (#1687) 2024-08-20 13:26:57 +00:00
all.go Return `diag.Diagnostics` from mutators (#1305) 2024-03-25 14:18:47 +00:00
artifacts.go Upload local libraries even if they don't have artifact defined (#1664) 2024-08-14 09:03:44 +00:00
autodetect.go Upload local libraries even if they don't have artifact defined (#1664) 2024-08-14 09:03:44 +00:00
build.go Fix glob expansion after running a generic build command (#1662) 2024-08-07 14:47:03 +00:00
expand_globs.go Pass copy of `dyn.Path` to callback function (#1747) 2024-09-05 11:05:16 +00:00
expand_globs_test.go Fix glob expansion after running a generic build command (#1662) 2024-08-07 14:47:03 +00:00
infer.go Return `diag.Diagnostics` from mutators (#1305) 2024-03-25 14:18:47 +00:00
prepare.go Stop tracking file path locations in bundle resources (#1673) 2024-08-13 12:50:15 +00:00
upload.go Upload local libraries even if they don't have artifact defined (#1664) 2024-08-14 09:03:44 +00:00