MCPcopy Create free account
hub / github.com/ClassiCube/ClassiCube / GetCachedTag

Function GetCachedTag

src/TexturePack.c:400–406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

398}
399
400CC_NOINLINE static cc_string GetCachedTag(const cc_string* url, struct StringsBuffer* list) {
401 cc_string key; char keyBuffer[STRING_INT_CHARS];
402 String_InitArray(key, keyBuffer);
403
404 HashUrl(&key, url);
405 return EntryList_UNSAFE_Get(list, &key, ' ');
406}
407
408static cc_string GetCachedLastModified(const cc_string* url) {
409 int i;

Callers 2

GetCachedLastModifiedFunction · 0.85
GetCachedETagFunction · 0.85

Calls 2

HashUrlFunction · 0.85
EntryList_UNSAFE_GetFunction · 0.85

Tested by

no test coverage detected