Libraryless. Click here for Pure Java version (899L/7K/21K).
!752 answer { if "list all files" { File base = javaxDataDir(); S basePath = base.getAbsolutePath(); L<File> files = findAllFiles(base); new L<S> l; for (File f : files) if (!f.isDirectory()) { S size = rpad(formatDouble(toM_double(f.length()), 1) + " M", 8); l.add(size + " " + substring(f.getAbsolutePath(), l(basePath))); } ret slackSnippet(fromLines(l)); } }
Began life as a copy of #1002584
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment