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-19 02:00:13 +04:00
parent 4cb9b28a39
commit a574bc1adf

View file

@ -13,9 +13,9 @@ sealed class IFileSpec {
abstract fun toFiles(baseDir: String?, filePath: String, excludes: List<Glob> = emptyList<Glob>()): List<File>
class FileSpec(val spec: String) : IFileSpec() {
override public fun toFiles(baseDir: String?, filePath: String, excludes: List<Glob>) = listOf(File(spec))
override fun toFiles(baseDir: String?, filePath: String, excludes: List<Glob>) = listOf(File(spec))
override public fun toString() = spec
override fun toString() = spec
}
class GlobSpec(val spec: List<String>) : IFileSpec() {