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

Method absolute_path

src/resource/compile_options.cpp:232–241  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

230}
231
232void CompileOptions::absolute_path(DynamicString &abs, const char *path)
233{
234 TempAllocator256 ta;
235 DynamicString source_dir(ta);
236 _data_compiler.source_dir(path, source_dir);
237
238 FilesystemDisk source_filesystem(ta);
239 source_filesystem.set_prefix(source_dir.c_str());
240 source_filesystem.absolute_path(abs, path);
241}
242
243void CompileOptions::temporary_path(DynamicString &abs, const char *suffix)
244{

Callers 4

compileFunction · 0.45
temporary_pathMethod · 0.45
compileFunction · 0.45
write_requestMethod · 0.45

Calls 3

source_dirMethod · 0.80
set_prefixMethod · 0.80
c_strMethod · 0.45

Tested by

no test coverage detected