databricks-cli/libs/fileset
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
..
file.go Move git.FileSet to libs/fileset and make it aware of gitignores (#184) 2023-01-27 16:04:58 +01:00
fileset.go Move git.FileSet to libs/fileset and make it aware of gitignores (#184) 2023-01-27 16:04:58 +01:00
ignorer.go Move git.FileSet to libs/fileset and make it aware of gitignores (#184) 2023-01-27 16:04:58 +01:00