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

Method stat

src/core/filesystem/filesystem_disk.cpp:279–290  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279Stat FilesystemDisk::stat(const char *path)
280{
281 CE_ENSURE(NULL != path);
282
283 TempAllocator256 ta;
284 DynamicString abs_path(ta);
285 absolute_path(abs_path, path);
286
287 Stat st;
288 os::stat(st, abs_path.c_str());
289 return st;
290}
291
292bool FilesystemDisk::exists(const char *path)
293{

Callers

nothing calls this directly

Calls 2

statFunction · 0.50
c_strMethod · 0.45

Tested by

no test coverage detected