Skip to content

CopyOptions

Options applied when copying directories.

Initializer

import ros_cdk_core
ros_cdk_core.CopyOptions(
  exclude: typing.List[str] = None,
  follow: SymlinkFollowMode = None,
  ignore_mode: IgnoreMode = None
)

Properties

Name Type Description
exclude typing.List[str] File paths matching the patterns will be excluded.
follow 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.


followOptional

follow: SymlinkFollowMode

A strategy for how to handle symlinks.


ignore_modeOptional

ignore_mode: IgnoreMode

The ignore behavior to use for exclude patterns.