2021-01-01から1年間の記事一覧

unzip file which contains symbolic link by zip-rs

zip-rs does not support symbolic link yet(https://github.com/zip-rs/zip/issues/77). However it is possible by using public APIs as below. use std::fs; use std::io; fn main() { std::process::exit(real_main()); } fn real_main() -> i32 { let …