mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
public
This commit is contained in:
parent
4cb9b28a39
commit
a574bc1adf
1 changed files with 2 additions and 2 deletions
|
@ -13,9 +13,9 @@ sealed class IFileSpec {
|
||||||
abstract fun toFiles(baseDir: String?, filePath: String, excludes: List<Glob> = emptyList<Glob>()): List<File>
|
abstract fun toFiles(baseDir: String?, filePath: String, excludes: List<Glob> = emptyList<Glob>()): List<File>
|
||||||
|
|
||||||
class FileSpec(val spec: String) : IFileSpec() {
|
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() {
|
class GlobSpec(val spec: List<String>) : IFileSpec() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue