Support passing an absolute path

This commit is contained in:
Jarred Sumner
2021-10-14 16:14:48 -07:00
parent 4b6d8a152f
commit fe24b96d61
4 changed files with 320 additions and 178 deletions

View File

@@ -71,5 +71,5 @@ pub fn main() anyerror!void {
tarball_buf_list = std.ArrayListUnmanaged(u8){ .capacity = file_buf.len, .items = file_buf };
}
try Archive.extractToDisk(file_buf, folder, 1, false);
try Archive.extractToDisk(file_buf, folder, null, 1, false);
}