Commit b169ea6
committed
[#70] Match cah:/ prefix case-insensitively; document whole-file assumption
The content-addressed scheme casing is not guaranteed, so compare the
prefix with OrdinalIgnoreCase. Also document why path-only CRC is correct:
a cah:/ stream always references the entire resource file, and the
offset/size fields only remain for backward compatibility with the older
format that packed multiple resources into a single file.1 parent 5e2854f commit b169ea6
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
| |||
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | | - | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
105 | 112 | | |
106 | 113 | | |
107 | 114 | | |
| |||
0 commit comments