Skip to content

FileCopyOptions

Options applied when copying directories into the staging location.

Initializer

import ros_cdk_core
ros_cdk_core.FileCopyOptions(
  exclude: typing.List[str] = None,
  follow_symlinks: SymlinkFollowMode = None,
  ignore_mode: IgnoreMode = 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.

excludeOptional

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_symlinksOptional

follow_symlinks: SymlinkFollowMode

A strategy for how to handle symlinks.


ignore_modeOptional

ignore_mode: IgnoreMode

The ignore behavior to use for exclude patterns.