mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
14 lines
194 B
V
14 lines
194 B
V
import szip
|
|
import os
|
|
|
|
fn test_szip() {
|
|
mut z := szip.open('test_compile.zip', .best_speed, .write) or {
|
|
assert false
|
|
return
|
|
}
|
|
defer {
|
|
z.close()
|
|
os.rm('test_compile.zip') or { }
|
|
}
|
|
}
|