Improve tests & validate FSEntry names #4
|
@ -1,7 +1,7 @@
|
||||||
package filesystem
|
package filesystem
|
||||||
|
|
||||||
import java.nio.file.FileAlreadyExistsException
|
import java.nio.file.FileAlreadyExistsException
|
||||||
import java.nio.file.Path
|
import kotlin.io.path.Path
|
||||||
import kotlin.io.path.createDirectory
|
import kotlin.io.path.createDirectory
|
||||||
import kotlin.io.path.createFile
|
import kotlin.io.path.createFile
|
||||||
import kotlin.io.path.writeText
|
import kotlin.io.path.writeText
|
||||||
|
@ -30,7 +30,7 @@ class FSCreator {
|
||||||
val queue =
|
val queue =
|
||||||
ArrayDeque(
|
ArrayDeque(
|
||||||
listOf(
|
listOf(
|
||||||
entryToCreate to Path.of(destination),
|
entryToCreate to Path(destination),
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Reference in New Issue