summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordana <dana@dana.is>2018-11-03 15:47:39 -0500
committerAndrew Gallant <jamslam@gmail.com>2019-01-22 20:56:16 -0500
commit1ae121122f670e95dc6b5a006c5d2a25cbc7eaa2 (patch)
treea95affa8f425bfca83d27987721640807a043567
parent688003e51c06f1eab7ebd72a9d0435f81b44002f (diff)
ignore/types: add/update brotli, bzip2, gzip, xz, zstd
-rw-r--r--ignore/src/types.rs8
1 files changed, 5 insertions, 3 deletions
diff --git a/ignore/src/types.rs b/ignore/src/types.rs
index e59044e2..74c27c46 100644
--- a/ignore/src/types.rs
+++ b/ignore/src/types.rs
@@ -108,8 +108,9 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("awk", &["*.awk"]),
("bazel", &["*.bzl", "WORKSPACE", "BUILD", "BUILD.bazel"]),
("bitbake", &["*.bb", "*.bbappend", "*.bbclass", "*.conf", "*.inc"]),
+ ("brotli", &["*.br"]),
("buildstream", &["*.bst"]),
- ("bzip2", &["*.bz2"]),
+ ("bzip2", &["*.bz2", "*.tbz2"]),
("c", &["*.c", "*.h", "*.H", "*.cats"]),
("cabal", &["*.cabal"]),
("cbor", &["*.cbor"]),
@@ -147,7 +148,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("fsharp", &["*.fs", "*.fsx", "*.fsi"]),
("gn", &["*.gn", "*.gni"]),
("go", &["*.go"]),
- ("gzip", &["*.gz"]),
+ ("gzip", &["*.gz", "*.tgz"]),
("groovy", &["*.groovy", "*.gradle"]),
("h", &["*.h", "*.hpp"]),
("hbs", &["*.hbs"]),
@@ -299,7 +300,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
("wiki", &["*.mediawiki", "*.wiki"]),
("webidl", &["*.idl", "*.webidl", "*.widl"]),
("xml", &["*.xml", "*.xml.dist"]),
- ("xz", &["*.xz"]),
+ ("xz", &["*.xz", "*.txz"]),
("yacc", &["*.y"]),
("yaml", &["*.yaml", "*.yml"]),
("zsh", &[
@@ -310,6 +311,7 @@ const DEFAULT_TYPES: &'static [(&'static str, &'static [&'static str])] = &[
".zshrc", "zshrc",
"*.zsh",
]),
+ ("zstd", &["*.zst", "*.zstd"]),
];
/// Glob represents a single glob in a set of file type definitions.