FileCopyOptions
Options applied when copying directories into the staging location.
Initializer
import { FileCopyOptions } from '@alicloud/ros-cdk-core'
const fileCopyOptions: FileCopyOptions = { ... }
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. |
exclude
Optional
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.
followSymlinks
Optional
public readonly followSymlinks: SymlinkFollowMode;
- Type: SymlinkFollowMode
- Default: SymlinkFollowMode.NEVER
A strategy for how to handle symlinks.
ignoreMode
Optional
public readonly ignoreMode: IgnoreMode;
- Type: IgnoreMode
- Default: IgnoreMode.GLOB
The ignore behavior to use for exclude
patterns.