fingerprint
fingerprint(
args):Promise<Fingerprint>
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
args | { excludes?: readonly string[]; files: (pattern) => Promise<string[]>; paths: readonly string[]; patterns: readonly string[]; root: string; } | - |
args.excludes? | readonly string[] | The exclusion set in force, recorded rather than hashed. See Fingerprint.excludes. |
args.files | (pattern) => Promise<string[]> | - |
args.paths | readonly string[] | Paths the provider actually read, root-relative. |
args.patterns | readonly string[] | Patterns to re-expand: the provider’s declared watch together with every pattern it queried through ctx.files(). The two get identical treatment on purpose — a queried pattern IS a watch the provider never had to write down, and a provider that discovers by listing depends on the answer to its query rather than only on the files that answer happened to name. |
args.root | string | - |
Returns
Section titled “Returns”Promise<Fingerprint>