Skip to content

Commit 002099b

Browse files
committed
ktlintFormat
1 parent 35ef3a1 commit 002099b

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

runtime/runtime-core/common/src/aws/smithy/kotlin/runtime/util/Filesystem.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ internal class MapFilesystem(
6161
memFs[path] = data
6262
}
6363

64-
override suspend fun deleteFile(path: String) { memFs.remove(path) }
64+
override suspend fun deleteFile(path: String) {
65+
memFs.remove(path)
66+
}
6567
override fun fileExists(path: String): Boolean = memFs[path] != null
6668
}

runtime/runtime-core/native/src/aws/smithy/kotlin/runtime/util/PlatformNative.kt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@ internal actual object SystemDefaultProvider : PlatformProvider {
5353
}
5454
}
5555

56-
actual override suspend fun deleteFile(path: String) { remove(path) }
56+
actual override suspend fun deleteFile(path: String) {
57+
remove(path)
58+
}
5759

5860
actual override fun fileExists(path: String): Boolean = access(path, F_OK) == 0
5961

0 commit comments

Comments
 (0)