1 Commits
2.1.1 ... 2.1.2

Author SHA1 Message Date
4b28f64c43 Sort sql files on walk 2021-03-20 14:33:18 +01:00

View File

@@ -47,5 +47,5 @@ fun URI.searchSqlFiles() = sequence<Resource> {
} }
} }
private fun Path.walk(maxDepth: Int = 2147483647, vararg options: FileVisitOption) = Files.walk(this, maxDepth, *options) private fun Path.walk(maxDepth: Int = 2147483647, vararg options: FileVisitOption) = Files.walk(this, maxDepth, *options).sorted()
private fun URI.walk(maxDepth: Int = 2147483647, vararg options: FileVisitOption) = Files.walk(Path.of(this), maxDepth, *options) private fun URI.walk(maxDepth: Int = 2147483647, vararg options: FileVisitOption) = Files.walk(Path.of(this), maxDepth, *options).sorted()