1
0
Fork 0
mirror of https://github.com/ethauvin/kobalt.git synced 2025-04-26 08:27:12 -07:00
This commit is contained in:
Cedric Beust 2016-02-20 12:05:17 -08:00
parent 8255ca4791
commit 0ad490ef90

View file

@ -18,6 +18,9 @@ sealed class IFileSpec {
override fun toString() = spec
}
/**
* A glob matcher, see http://docs.oracle.com/javase/7/docs/api/java/nio/file/FileSystem.html#getPathMatcher%28java.lang.String%29
*/
class GlobSpec(val spec: List<String>) : IFileSpec() {
constructor(spec: String) : this(arrayListOf(spec))