Skip to content

Commit

Permalink
Merge pull request #38 from theseus-rs/update-linguist-definitions
Browse files Browse the repository at this point in the history
feat: update linguist definitions
  • Loading branch information
brianheineman authored Jan 9, 2025
2 parents 596cbf3 + b86ed8a commit a0e43d5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
3 changes: 2 additions & 1 deletion FILETYPES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File Types (3851)
# File Types (3852)

| Id | Name | Extensions | Media Types |
| ---- | ---- | ----------- | ---------- |
Expand Down Expand Up @@ -2564,6 +2564,7 @@
| [apache-httpd/4956746657128679058](https://github.com/theseus-rs/file-type/blob/main/file_type/data/apache-httpd/apache-httpd-4956746657128679058.xml) | osgi subsystem | esa | application/vnd.osgi.subsystem |
| [fmt/839](https://github.com/theseus-rs/file-type/blob/main/file_type/data/pronom/fmt-839.xml) | Outlook Express Folder Database | dbx | |
| [fmt/838](https://github.com/theseus-rs/file-type/blob/main/file_type/data/pronom/fmt-838.xml) | Outlook Express Message Database | dbx | |
| [linguist/689079655](https://github.com/theseus-rs/file-type/blob/main/file_type/data/linguist/linguist-689079655.xml) | OverpassQL | .overpassql | |
| [linguist/269](https://github.com/theseus-rs/file-type/blob/main/file_type/data/linguist/linguist-269.xml) | Oxygene | .oxygene | |
| [linguist/268](https://github.com/theseus-rs/file-type/blob/main/file_type/data/linguist/linguist-268.xml) | Ox | .ox, .oxh, .oxo | |
| [linguist/270](https://github.com/theseus-rs/file-type/blob/main/file_type/data/linguist/linguist-270.xml) | Oz | .oz | text/x-oz |
Expand Down
16 changes: 16 additions & 0 deletions file_type/data/linguist/linguist-689079655.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<FileFormat>
<FormatID>689079655</FormatID>
<FormatName>OverpassQL</FormatName>
<ProvenanceSourceId>0</ProvenanceSourceId>
<ProvenanceSourceDate>09 Jan 2025</ProvenanceSourceDate>
<LastUpdatedDate>09 Jan 2025</LastUpdatedDate>
<FileFormatIdentifier>
<Identifier>linguist/689079655</Identifier>
<IdentifierType>PUID</IdentifierType>
</FileFormatIdentifier>
<ExternalSignature>
<ExternalSignatureID>0</ExternalSignatureID>
<Signature>.overpassql</Signature>
<SignatureType>File extension</SignatureType>
</ExternalSignature>
</FileFormat>
4 changes: 2 additions & 2 deletions file_type/src/file_types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -362,13 +362,13 @@ mod tests {
#[test]
fn test_file_formats() {
let file_types = &*FILE_TYPES;
assert_eq!(3851, file_types.len());
assert_eq!(3852, file_types.len());
}

#[test]
fn test_extensions() {
let extensions = &*EXTENSION_MAP;
assert_eq!(3613, extensions.len());
assert_eq!(3614, extensions.len());
}

#[test]
Expand Down

0 comments on commit a0e43d5

Please sign in to comment.