OdfAsset.classifyKind

OdfAssetKind classifyKind(string path, string mediaType) @safe pure nothrow

Determines the asset kind from its path and MIME media type.

Parameters

pathFull slash-separated path inside the ODF ZIP container.
mediaTypeMIME type of the entry (may be empty for directories).

Returns

The OdfAssetKind that best matches the given path and media type.