1 | static LS storedWebPages_urlsStartingWith(S baseURL) { |
2 | new LS urls; |
3 | for ping (File f : listFilesWithExtension(storedWebPagesDir(), ".url")) { |
4 | S url = trimLoadTextFile(f); |
5 | if (startsWith(url, baseURL)) |
6 | urls.add(url); |
7 | } |
8 | ret urls; |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1023838 |
Snippet name: | storedWebPages_urlsStartingWith |
Eternal ID of this version: | #1023838/1 |
Text MD5: | f588cc871ca2cd5492e5a8029360b290 |
Author: | stefan |
Category: | javax / stored web pages |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-07-10 13:13:03 |
Source code size: | 259 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 204 / 227 |
Referenced in: | [show references] |