Skip to content

FileCopyOptions

Options applied when copying directories into the staging location.

Initializer

import "github.com/alibabacloud-go/ros-cdk/alicloudroscdkcore"
&alicloudroscdkcore.FileCopyOptions {
    Exclude: *[]*string,
    FollowSymlinks: 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.
FollowSymlinks 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.


FollowSymlinksOptional

FollowSymlinks SymlinkFollowMode

A strategy for how to handle symlinks.


IgnoreModeOptional

IgnoreMode IgnoreMode

The ignore behavior to use for exclude patterns.