[klib] Finish refactoring of ZipUtil

This commit is contained in:
Sergej Jaskiewicz
2022-12-08 18:47:25 +01:00
committed by Space Team
parent e4d32f3615
commit a66950b629
3 changed files with 6 additions and 21 deletions
@@ -81,8 +81,7 @@ fun <T> File.withZipFileSystem(create: Boolean, action: (FileSystem) -> T): T {
fun <T> File.withZipFileSystem(action: (FileSystem) -> T): T = this.withZipFileSystem(false, action)
// TODO: Make this function private after boostrap advance
fun File.recursiveCopyTo(destination: File, resetTimeAttributes: Boolean = false) {
private fun File.recursiveCopyTo(destination: File, resetTimeAttributes: Boolean = false) {
val sourcePath = javaPath
val destPath = destination.javaPath
val destFs = destPath.fileSystem