SNRK-67: Use system-specific path separator
This commit is contained in:
parent
b543735628
commit
7c6157be96
@ -18,9 +18,9 @@ private class LocalFile(private val path: String) : FileReader, FileWriter {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private class LocalDirectory(private val root: Path, path: String) : Directory {
|
private class LocalDirectory(private val root: Path, path: String) : Directory {
|
||||||
private val current = "$root/$path"
|
private val current = "$root${File.separator}$path"
|
||||||
|
|
||||||
private fun child(child: String): String = "$current/$child"
|
private fun child(child: String): String = "$current${File.separator}$child"
|
||||||
|
|
||||||
override fun close() {}
|
override fun close() {}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user