We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e354d53 commit ee7d014Copy full SHA for ee7d014
README.md
@@ -111,13 +111,15 @@ import io.github.helpermethod.zip_forge.ZipForge.directory
111
import io.github.helpermethod.zip_forge.ZipForge.file
112
import kotlin.io.path.Path
113
114
-createZipFile(Path("/home/helpermethod/demo.zip")) {
115
- file("a.txt", "a")
116
- directory("d") {
117
- file("b.txt", "b".toByteArray())
118
- file("c.txt", "c")
119
- directory("e") {
120
- file("f.bin", Path("f.bin"))
+fun main() {
+ createZipFile(Path("/home/helpermethod/demo.zip")) {
+ file("a.txt", "a")
+ directory("d") {
+ file("b.txt", "b".toByteArray())
+ file("c.txt", "c")
+ directory("e") {
121
+ file("f.bin", Path("f.bin"))
122
+ }
123
}
124
125
0 commit comments