Transpiled version (2806L) is out of date.
svoid gzip2xz(S gzInFile, S xzOutFile) { gzip2xz(newFile(gzInFile), newFile(xzOutFile)); } static File gzip2xz(File gzInFile) { File xzOutFile = replaceExtension(gzInFile, ".gz", ".xz"); ret gzip2xz(gzInFile, xzOutFile); } static File gzip2xz(File gzInFile, File xzOutFile) { printFileInfo("Converting to .xz", gzInFile); long time = sysNow(); copyStreamAndCloseAll( gzipInputStream(gzInFile), xzOutputStream(xzOutFile)); printFileInfo("Converted in " + renderElapsedTimePleasantly_100ms(sysNow()-time), xzOutFile); ret xzOutFile; }
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1028987 |
Snippet name: | gzip2xz |
Eternal ID of this version: | #1028987/7 |
Text MD5: | b26945d83f5181d5afaaf7984bf8cab5 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-07-21 23:51:21 |
Source code size: | 575 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 201 / 299 |
Version history: | 6 change(s) |
Referenced in: | [show references] |