Skip to main content

PartialHasherConfig

Configures aspects of the content hashing engine.

Index

Properties

optionalbatchSize

batchSize?: null | number = null | number

The number of files to include in each hash operation.

optionalignoreMissingPatterns

ignoreMissingPatterns?: null | string[]

When warnOnMissingInputs is enabled, filters missing file paths from logging a warning.

optionalignorePatterns

ignorePatterns?: null | string[]

Filters file paths that match a configured glob pattern when a hash is being generated. Patterns are workspace relative, so prefixing with ** is recommended.

optionaloptimization

optimization?: null | HasherOptimization = null | HasherOptimization

The optimization to use when hashing.

optionalwalkStrategy

walkStrategy?: null | HasherWalkStrategy = null | HasherWalkStrategy

The strategy to use when walking the file system.

optionalwarnOnMissingInputs

warnOnMissingInputs?: null | boolean = null | boolean

Logs a warning when a task has configured an explicit file path input, and that file does not exist when hashing.