| 282 | //----------------------------------------------------------------------------- |
| 283 | |
| 284 | static StringTableEntry tryGetBasePath(const char *path, const char *base) |
| 285 | { |
| 286 | U32 len = dStrlen(base); |
| 287 | if(dStrnicmp(path, base, len) == 0) |
| 288 | { |
| 289 | if(*(path + len) == '/') --len; |
| 290 | return StringTable->insertn(path, len, true); |
| 291 | } |
| 292 | return NULL; |
| 293 | } |
| 294 | |
| 295 | struct CollapseTest |
| 296 | { |
no test coverage detected