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
| Name | Type | Required | Description |
|---|---|---|---|
path | string | no | Directory path this profile describes (for diagnostics / persistence). |
maxSample | number | no | Cap files scanned; default 1000. Uses the first N files after filtering. |
dominanceThreshold | number | no | Minimum share of sampled files that must match a provider for dominant; default 0.9. |
minFilesForDominance | number | no | Minimum total file count in the directory before any provider can be dominant; default 5. |