Skip to content

CopyOptions

Options applied when copying directories.

Initializer

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

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.

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.


FollowOptional

Follow SymlinkFollowMode

A strategy for how to handle symlinks.


IgnoreModeOptional

IgnoreMode IgnoreMode

The ignore behavior to use for exclude patterns.