Show / Hide Table of Contents

Interface IFileCopyOptions

Options applied when copying directories into the staging location.

Namespace: Amazon.CDK
Assembly: Amazon.CDK.Lib.dll
Syntax (csharp)
public interface IFileCopyOptions
Syntax (vb)
Public Interface IFileCopyOptions
Remarks

ExampleMetadata: fixture=_generated

Examples
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK;

var fileCopyOptions = new FileCopyOptions {
    Exclude = new [] { "exclude" },
    FollowSymlinks = SymlinkFollowMode.NEVER,
    IgnoreMode = IgnoreMode.GLOB
};

Synopsis

Properties

Exclude

File paths matching the patterns will be excluded.

FollowSymlinks

A strategy for how to handle symlinks.

IgnoreMode

The ignore behavior to use for exclude patterns.

Properties

Exclude

File paths matching the patterns will be excluded.

virtual string[] Exclude { get; }
Property Value

System.String[]

Remarks

See ignoreMode to set the matching behavior. Has no effect on Assets bundled using the bundling property.

Default: - nothing is excluded

FollowSymlinks

A strategy for how to handle symlinks.

virtual Nullable<SymlinkFollowMode> FollowSymlinks { get; }
Property Value

System.Nullable<SymlinkFollowMode>

Remarks

Default: SymlinkFollowMode.NEVER

IgnoreMode

The ignore behavior to use for exclude patterns.

virtual Nullable<IgnoreMode> IgnoreMode { get; }
Property Value

System.Nullable<IgnoreMode>

Remarks

Default: IgnoreMode.GLOB

Back to top Generated by DocFX