@Generated(value="jsii-pacmak/1.67.0 (build 2c027f5)", date="2022-09-19T20:26:35.900Z") @Stability(value=Stable) public class GitIgnoreStrategy extends IgnoreStrategy
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.*;
GitIgnoreStrategy gitIgnoreStrategy = new GitIgnoreStrategy("absoluteRootPath", List.of("patterns"));
| Modifier | Constructor and Description |
|---|---|
protected |
GitIgnoreStrategy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode) |
protected |
GitIgnoreStrategy(software.amazon.jsii.JsiiObjectRef objRef) |
|
GitIgnoreStrategy(String absoluteRootPath,
List<String> patterns) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(String pattern)
Adds another pattern.
|
Boolean |
ignores(String absoluteFilePath)
Determines whether a given file path should be ignored or not.
|
docker, fromCopyOptions, git, globjsiiAsyncCall, jsiiAsyncCall, jsiiCall, jsiiCall, jsiiGet, jsiiGet, jsiiSet, jsiiStaticCall, jsiiStaticCall, jsiiStaticGet, jsiiStaticGet, jsiiStaticSet, jsiiStaticSetprotected GitIgnoreStrategy(software.amazon.jsii.JsiiObjectRef objRef)
protected GitIgnoreStrategy(software.amazon.jsii.JsiiObject.InitializationMode initializationMode)
@Stability(value=Stable)
public void add(@NotNull
String pattern)
add in class IgnoreStrategypattern - This parameter is required.@Stability(value=Stable) @NotNull public Boolean ignores(@NotNull String absoluteFilePath)
ignores in class IgnoreStrategyabsoluteFilePath - absolute file path to be assessed against the pattern. This parameter is required.Copyright © 2022. All rights reserved.