Phials plugin documentation
User guide
AI Disclosure: This page was generated by an LLM and may contain inaccuracies. Hand-crafted documentation will be implemented over time on the road to 1.0

DirectoryMetadataProfileOptions

Since Plugin API: 1.0.0

Options for computing a directory metadata profile (cheap matching only).

Signature

interface DirectoryMetadataProfileOptions {
    path?: string;
    maxSample?: number;
    dominanceThreshold?: number;
    minFilesForDominance?: number;
}

Members

NameTypeRequiredDescription
pathstringnoDirectory path this profile describes (for diagnostics / persistence).
maxSamplenumbernoCap files scanned; default 1000. Uses the first N files after filtering.
dominanceThresholdnumbernoMinimum share of sampled files that must match a provider for dominant; default 0.9.
minFilesForDominancenumbernoMinimum total file count in the directory before any provider can be dominant; default 5.