Module extension_data

Module extension_data 

Source
Expand description

Centralized registry of file extension rules across format types. @generated by ctb-build-support::extension_codegen from format category data tables. Do not edit by hand.

Structs§

ExtensionEntry
An entry associating a FormatId with an ExtensionRule.

Statics§

EXTENSION_REGISTRY
Global static registry of single file extension mappings.

Functions§

extension_rules_for_format
Returns all extension rules associated with the given FormatId.
lookup_format_by_extension
Helper to lookup FormatId from a single extension string.
primary_extension_for_format
Returns the primary (first registered) extension for the given FormatId.