| 152 | } |
| 153 | |
| 154 | static void ContentFilePath(HCache cache, uint64_t identifier_hash, char* path, int path_len) |
| 155 | { |
| 156 | char identifier_string[8 * 2 + 1]; |
| 157 | identifier_string[sizeof(identifier_string)-1] = '\0'; |
| 158 | HashToString(identifier_hash, &identifier_string[0]); |
| 159 | dmSnPrintf(path, path_len, "%s/%c%c/%s", |
| 160 | cache->m_Path, |
| 161 | identifier_string[0], |
| 162 | identifier_string[1], |
| 163 | &identifier_string[2]); |
| 164 | } |
| 165 | |
| 166 | static void RemoveCachedContentFile(HCache cache, uint64_t identifier_hash) |
| 167 | { |
no test coverage detected