Skip to main content

Module file_type

Module file_type 

Source

Enums§

FileType
Supported file types and their detection logic.
Support
Indicates the read/write capability for a file type.

Functions§

detect_from_extension
Detect file type from file extension.
detect_from_magic
Detect file type from magic bytes (first 64+ bytes of a file).