databricks-cli/libs/sync
Pieter Noordhuis eb76e5d3e8
Move git.FileSet to libs/fileset and make it aware of gitignores (#184)
This moves `git.FileSet` to `libs/fileset` and decouples it from the Git package.

It is made aware of gitignore rules in parent directories up to the
repository root as well as gitignore files in underlying directories
through the `fileset.Ignorer` interface.

The recursive directory walker is reimplemented with [filepath.WalkDir].

Follow up to #182.
2023-01-27 16:04:58 +01:00
..
repofiles Move sync logic from cmd/sync to libs/sync (#173) 2023-01-23 13:52:39 +01:00
diff.go Move diff struct to its own file (#175) 2023-01-24 11:06:14 +01:00
path.go Move path checking logic for sync command to libs/sync (#176) 2023-01-24 13:58:10 +01:00
path_test.go Move path checking logic for sync command to libs/sync (#176) 2023-01-24 13:58:10 +01:00
snapshot.go Move git.FileSet to libs/fileset and make it aware of gitignores (#184) 2023-01-27 16:04:58 +01:00
snapshot_test.go Move git.FileSet to libs/fileset and make it aware of gitignores (#184) 2023-01-27 16:04:58 +01:00
sync.go Move git.FileSet to libs/fileset and make it aware of gitignores (#184) 2023-01-27 16:04:58 +01:00
watchdog.go Update sync defaults (#177) 2023-01-24 15:06:59 +01:00