FileFingerprintOptions
Options related to calculating source hash.
Initializer
import ros_cdk_core
ros_cdk_core.FileFingerprintOptions(
exclude: typing.List[str] = None,
follow_symlinks: SymlinkFollowMode = None,
ignore_mode: IgnoreMode = None,
extra_hash: str = None
)
Properties
Name | Type | Description |
---|---|---|
exclude |
typing.List[str] |
File paths matching the patterns will be excluded. |
follow_symlinks |
SymlinkFollowMode |
A strategy for how to handle symlinks. |
ignore_mode |
IgnoreMode |
The ignore behavior to use for exclude patterns. |
extra_hash |
str |
Extra information to encode into the fingerprint (e.g. build instructions and other inputs). |
exclude
Optional
exclude: typing.List[str]
- Type: typing.List[str]
- 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.
follow_symlinks
Optional
follow_symlinks: SymlinkFollowMode
- Type: SymlinkFollowMode
- Default: SymlinkFollowMode.NEVER
A strategy for how to handle symlinks.
ignore_mode
Optional
ignore_mode: IgnoreMode
- Type: IgnoreMode
- Default: IgnoreMode.GLOB
The ignore behavior to use for exclude
patterns.
extra_hash
Optional
extra_hash: str
- Type: str
- Default: hash is only based on source content
Extra information to encode into the fingerprint (e.g. build instructions and other inputs).