mime

Parsing and using shared MIME-info database.

Modules

cache
module mime.cache

Class for reading mime.cache files.

common
module mime.common

Common functions and constants to work with MIME types.

database
module mime.database

Access to Shared MIME-info database.

detector
module mime.detector

MIME type detector interface. Implementers should be capable of detecting MIME type name by various properties including file name, file data and namespace uri.

detectors
module mime.detectors
files
module mime.files

Parsing various files of shared MIME-info database.

glob
module mime.glob

Struct that represents a MIME glob pattern.

inode
module mime.inode

inode/* MIME types.

magic
module mime.magic

MIME magic rules object representation.

paths
module mime.paths

Functions for building and retrieving paths to shared MIME database directories.

store
module mime.store

MIME type store interface. Implementers should be capable of returning requested MIME types if they exist.

stores
module mime.stores
text
module mime.text

Text utility functions.

treemagic
module mime.treemagic

Treemagic rules object representation.

type
module mime.type

Struct that represents a MIME type.

xml
module mime.xml

Functions for reading XML descriptions of MIME types.

Public Imports

mime.common
public import mime.common;
mime.type
public import mime.type;
mime.database
public import mime.database;
mime.paths
public import mime.paths;

See Also

Meta