summaryrefslogtreecommitdiff
path: root/vendor/github.com/sagikazarmark/locafero/glob_windows.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/sagikazarmark/locafero/glob_windows.go')
-rw-r--r--vendor/github.com/sagikazarmark/locafero/glob_windows.go8
1 files changed, 8 insertions, 0 deletions
diff --git a/vendor/github.com/sagikazarmark/locafero/glob_windows.go b/vendor/github.com/sagikazarmark/locafero/glob_windows.go
new file mode 100644
index 000000000..7aec2b247
--- /dev/null
+++ b/vendor/github.com/sagikazarmark/locafero/glob_windows.go
@@ -0,0 +1,8 @@
+//go:build windows
+
+package locafero
+
+// See [filepath.Match]:
+//
+// On Windows, escaping is disabled. Instead, '\\' is treated as path separator.
+const globMatch = "*?[]^"