Skip to content

FingerprintOptions

Options related to calculating source hash.

Initializer

import { FingerprintOptions } from '@alicloud/ros-cdk-core'
const fingerprintOptions: FingerprintOptions = { ... }

Properties

Name Type Description
exclude string[] File paths matching the patterns will be excluded.
follow SymlinkFollowMode A strategy for how to handle symlinks.
ignoreMode IgnoreMode The ignore behavior to use for exclude patterns.
extraHash string Extra information to encode into the fingerprint (e.g. build instructions and other inputs).

excludeOptional

public readonly exclude: string[];
  • Type: string[]
  • Default: nothing is excluded

File paths matching the patterns will be excluded.

See ignoreMode to set the matching behavior. Has no effect on Assets bundled using the bundling property.


followOptional

public readonly follow: SymlinkFollowMode;

A strategy for how to handle symlinks.


ignoreModeOptional

public readonly ignoreMode: IgnoreMode;

The ignore behavior to use for exclude patterns.


extraHashOptional

public readonly extraHash: string;
  • Type: string
  • Default: hash is only based on source content

Extra information to encode into the fingerprint (e.g. build instructions and other inputs).