You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+7-2
Original file line number
Diff line number
Diff line change
@@ -8,14 +8,19 @@
8
8
9
9
## Description
10
10
11
-
It is a reusable wrapper for file exclusion mechanism extracted from [NetBeans Git Module](https://github.com/myabc/nbgit/tree/master/src/org/nbgit/util/exclude).
11
+
It is a reusable Java wrapper for[GitIgnore](https://git-scm.com/docs/gitignore) file exclusion mechanism extracted from [NetBeans Git Module](https://github.com/myabc/nbgit/tree/master/src/org/nbgit/util/exclude).
12
12
13
+
Useful for Java applications or libraries which wants to use GitIgnore like file filtering.
14
+
15
+
Supports nested *.gitignore* files.
13
16
14
17
## Usage
15
18
19
+
Sample Kotlin code:
20
+
16
21
```kotlin
17
22
val rootDir =File("/some/root")
18
-
val sampleFile =File("SomeClass.class", rootDir)
23
+
val sampleFile =File("class/SomeClass.class", rootDir)
0 commit comments