topmark.filetypes package index¶
topmark / filetypes
Registry and matching logic for all supported file types in TopMark.
This module maintains a registry of file types supported by TopMark and provides functions to match file paths against these types, validate requested file types from CLI arguments, and resolve the best matching file type for a given path.
Immediate children in this package¶
- topmark.filetypes.builtins
- Built-in FileType groups for TopMark.
- topmark.filetypes.checks
- Insert-checker utilities for TopMark file types.
- topmark.filetypes.detectors
- Content-based file type detectors.
- topmark.filetypes.factory
- Factories for creating
FileTypeinstances. - topmark.filetypes.instances
- Built-in and plugin-provided file type declarations for the base registry.
- topmark.filetypes.model
- Abstract base class for all file type implementations in TopMark.
- topmark.filetypes.policy
- File-type header insertion/strip policies.