1 | static S assertAbsolutePath(S s) {
|
2 | if (!s.startsWith("/")) // TODO: Windows
|
3 | fail("Not an absolute path: " + s);
|
4 | ret s; |
5 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004130 |
| Snippet name: | assertAbsolutePath |
| Eternal ID of this version: | #1004130/1 |
| Text MD5: | 4f7506622b0c7eb30c1f661c9984e30a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2016-08-07 21:27:39 |
| Source code size: | 132 bytes / 5 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 857 / 851 |
| Referenced in: | [show references] |