Transpiled version (5558L) is out of date.
1 | // sorted by descending date |
2 | static L<File> conceptBackupFiles(S progID) {
|
3 | ret conceptBackupFiles(programDir(progID)); |
4 | } |
5 | |
6 | static L<File> conceptBackupFiles(File dir) {
|
7 | S regexp = "^(.*)\\.backup(20\\d\\d)(\\d\\d)(\\d\\d)-(\\d+)$"; |
8 | new L<File> l; |
9 | for (File f : listFilesNotDirs(dir, newFile(dir, "backups"))) {
|
10 | if (isEmpty(f)) continue; |
11 | S s = f.getName(); |
12 | S originalName = regexpFirstGroup(regexp, s); |
13 | continue unless eq(originalName, "concepts.structure.gz"); |
14 | l.add(f); |
15 | } |
16 | ret sortFilesByNameDesc(l); |
17 | } |
download show line numbers debug dex old transpilations
Travelled to 16 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, whxojlpjdney, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1016098 |
| Snippet name: | conceptBackupFiles |
| Eternal ID of this version: | #1016098/7 |
| Text MD5: | 8b9fd2b26132e137fa222972f8f99a1b |
| Author: | stefan |
| Category: | javax / concepts |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2025-07-13 11:19:33 |
| Source code size: | 549 bytes / 17 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 2976 / 3399 |
| Version history: | 6 change(s) |
| Referenced in: | [show references] |