diff options
author | Benjamin Sago <ogham@users.noreply.github.com> | 2020-10-08 22:17:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-08 22:17:45 +0100 |
commit | 083cf147bef5a5c346315b6feeb3cef1d310117a (patch) | |
tree | e690e3591476f805cc87a761dd9f86a17ebc722f | |
parent | dbbc4e465b3bf4cff28fbb7e3bd541b6a1d915bc (diff) | |
parent | f872027cfe9f103f496f9d95673f3fcfcfb6ecd0 (diff) |
Merge pull request #709 from poliorcetics/add-apple-filetypes
Add the documents extension for Apple file formats
-rw-r--r-- | src/info/filetype.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/info/filetype.rs b/src/info/filetype.rs index 2af5da5..922d191 100644 --- a/src/info/filetype.rs +++ b/src/info/filetype.rs @@ -67,9 +67,9 @@ impl FileExtensions { fn is_document(&self, file: &File) -> bool { file.extension_is_one_of( &[ - "djvu", "doc", "docx", "dvi", "eml", "eps", "fotd", - "odp", "odt", "pdf", "ppt", "pptx", "rtf", - "xls", "xlsx", + "djvu", "doc", "docx", "dvi", "eml", "eps", "fotd", "key", + "keynote", "numbers", "odp", "odt", "pages", "pdf", "ppt", + "pptx", "rtf", "xls", "xlsx", ]) } |