Skip to content

FileCopyOptions

Options applied when copying directories into the staging location.

Initializer

import com.aliyun.ros.cdk.core.FileCopyOptions;
FileCopyOptions.builder()
//  .exclude(java.util.List<java.lang.String>)
//  .followSymlinks(SymlinkFollowMode)
//  .ignoreMode(IgnoreMode)
    .build();

Properties

Name Type Description
exclude java.util.List 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

public java.util.List<java.lang.String> getExclude();
  • Type: java.util.List
  • 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

public SymlinkFollowMode getFollowSymlinks();

A strategy for how to handle symlinks.


ignoreModeOptional

public IgnoreMode getIgnoreMode();

The ignore behavior to use for exclude patterns.