Phials developer documentation
User guide
AI Notice: Most documentation right now was auto-generated by an LLM. Handwritten documentation will be implemented over time on the road to 1.0

DirectoryMetadataProfileOptions

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.