struct FileFormat

File format info.

string format

Format name.

Signature[] signatures

Key byte sequences and offsets.

string[] extensions

List of file suffixes used by the format.

string description

Format brief description.

string extendedDescription

Big description. Reserved for future use.

bool utfText

Mark

plain text or not.

string group

Format group name (Audio, Pictures, Archives, etc.).

bool completeMatchOnly

If true, then the format is valid only if both the extension and the signature match.

string detectionByScript

String with shell code for checking.

int opCmp(ref scope const FileFormat rhs) const

Implements comparison.

ref FileFormat opAssign(ref return scope const FileFormat rhs)

Identity assignment from an lvalue.

ref FileFormat opAssign(const FileFormat rhs) return

Identity assignment from an rvalue.

Variables

format

Format name.

signatures

Key byte sequences and offsets.

extensions

List of file suffixes used by the format.

description

Format brief description.

extendedDescription

Big description. Reserved for future use.

utfText
group

Format group name (Audio, Pictures, Archives, etc.).

completeMatchOnly

If true, then the format is valid only if both the extension and the signature match.

detectionByScript

String with shell code for checking.

Methods

opCmp
opAssign