Lines Matching refs:output_path
21 def gzip_uncompress(gz_path, output_path): argument
22 if os.path.exists(output_path):
26 with open(output_path, 'wb') as raw_out:
29 os.remove(output_path)
32 def lzma_uncompress(xz_path, output_path): argument
33 if os.path.exists(output_path):
37 with open(output_path, 'wb') as raw_out:
40 os.remove(output_path)
44 def zstd_uncompress(zstd_path, output_path): argument
45 if os.path.exists(output_path):
50 "-o", output_path], capture_output=True, check=True)
52 os.remove(output_path)
58 os.chmod(output_path, stat.S_IRUSR | stat.S_IWUSR)