Skip to content

fingerprint

fingerprint(args): Promise<Fingerprint>

ParameterTypeDescription
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.pathsreadonly string[]Paths the provider actually read, root-relative.
args.patternsreadonly 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.rootstring-

Promise<Fingerprint>