Module extension

Module extension 

Source
Expand description

File extension registry and matching utilities for format identification.

Adapted from extension and multi-layer disambiguation logic in old/filedetect/polyfile and old/filedetect/binwalk.

Structs§

ExtensionRule
A rule describing a file extension associated with a file format.

Enums§

CaseSensitivity
Defines whether an extension comparison is case-sensitive or case-insensitive.

Functions§

resolve_extension_candidates
Resolves candidate FormatId variants and scores for a given file extension, taking into account database OS associations and platform priors.