MCPcopy Create free account
hub / github.com/crownengine/crown / destination_path

Function destination_path

src/resource/resource_id.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20}
21
22void destination_path(DynamicString &path, ResourceId id)
23{
24 TempAllocator128 ta;
25 DynamicString id_hex(ta);
26 id_hex.from_string_id(id);
27 path::join(path, CROWN_DATA_DIRECTORY, id_hex.c_str());
28}
29
30void stream_destination_path(DynamicString &path, ResourceId id)
31{

Callers 5

compileFunction · 0.85
runMethod · 0.85
compileFunction · 0.85
scan_and_restoreMethod · 0.85
compile_internalMethod · 0.85

Calls 3

from_string_idMethod · 0.80
joinFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected