git-lfs/tools
brian m. carlson 22a7fbdb4a
filepathfilter: switch to strict pattern matching
There are two types of pattern matching with wildmatch patterns in Git:
gitignore and gitattributes patterns.  We'd like to support both, but
without the lazy matching that was the cause of so many problems before.

Add a type of pattern to use when creating a new filepathfilter and use
it to instantiate the wildmatch pattern with the proper flags.  Remove
the dirs flag, which is unused and has been for sometime, and also the
stripping of trailing slashes, which we want to use to indicate a
directory.  Drop the non-strict mode since our pattern matching is now
much improved and compatible with Git.
2021-08-26 15:48:54 +00:00
..
humanize all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
kv tools/kv: Fix dropped test error 2019-10-25 13:25:52 -07:00
channels.go extract base channel wrapper to tools 2016-11-18 12:02:38 -07:00
copycallback_test.go progress,tools: move CopyCallback (and related) to 'tools' 2017-11-22 14:08:33 -08:00
copycallback.go fix upload retry 'file already closed' issue' 2020-02-26 11:13:54 +08:00
cygwin_windows.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
cygwin.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
filetools_nix.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
filetools_test.go tools: unset XDG_CONFIG_HOME for filetools test 2021-03-10 13:53:02 -08:00
filetools_windows.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
filetools.go filepathfilter: switch to strict pattern matching 2021-08-26 15:48:54 +00:00
iotools_test.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
iotools.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
math_test.go commands,tools: fix ClampInt() function and tests 2021-03-10 21:11:54 -08:00
math.go commands,tools: fix ClampInt() function and tests 2021-03-10 21:11:54 -08:00
ordered_set_test.go tools: introduce tools.OrderedSet 2017-06-21 16:50:19 -06:00
ordered_set.go tools: introduce tools.OrderedSet 2017-06-21 16:50:19 -06:00
os_tools.go all: update go.mod module path with explicit v2 2021-08-09 23:18:38 -07:00
robustio_windows.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
robustio.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
str_tools_test.go tools: move ShellQuote to subprocess 2018-09-14 21:50:09 +00:00
str_tools.go tools: move ShellQuote to subprocess 2018-09-14 21:50:09 +00:00
stringset.go Fix Typos 2019-07-24 07:17:40 +00:00
sync_writer.go tools: add empty functions when missing in *SyncWriter 2017-12-01 09:39:02 -08:00
time_tools_test.go tools/time_tools: test tools.IsExpiredAtOrIn 2017-04-06 13:38:31 -06:00
time_tools.go tools: compare expiration to "time.Now" instead of "from" 2017-08-25 14:48:33 -04:00
umask_nix.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
umask_windows.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
util_darwin_test.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
util_darwin.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
util_generic.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
util_linux.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
util_test.go Add new command git lfs dedup for file system level deduplication. 2019-08-19 10:44:37 +09:00
util_windows_test.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00
util_windows.go Update formatting for Go 1.17 2021-08-17 20:24:58 +02:00