Skip to content

FileFingerprintOptions

Options related to calculating source hash.

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore"
&alicloudroscdkcore.FileFingerprintOptions {
    Exclude: *[]*string,
    FollowSymlinks: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.SymlinkFollowMode,
    IgnoreMode: github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore.IgnoreMode,
    ExtraHash: *string,
}

Properties

Name Type Description
Exclude []string File paths matching the patterns will be excluded.
FollowSymlinks 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

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.


FollowSymlinksOptional

FollowSymlinks SymlinkFollowMode

A strategy for how to handle symlinks.


IgnoreModeOptional

IgnoreMode IgnoreMode

The ignore behavior to use for exclude patterns.


ExtraHashOptional

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).