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

Method full_path

src/core/filesystem/file_monitor_windows.cpp:297–308  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295 }
296
297 void full_path(DynamicString &path, u32 key, const WCHAR *name, u32 name_len)
298 {
299 Watch *wh = hash_map::get(_watches, key, (Watch *)NULL);
300
301 TempAllocator512 ta;
302 DynamicString path_base(ta);
303 path_base = wh->_path;
304 DynamicString filename(ta);
305 for (u32 ii = 0; ii < name_len/2; ++ii)
306 filename += (char)name[ii];
307 path::join(path, path_base.c_str(), filename.c_str());
308 }
309
310 void write(FileMonitorEvent::Enum fme, bool is_dir, const char *path, const char *path_renamed)
311 {

Callers

nothing calls this directly

Calls 3

getFunction · 0.85
joinFunction · 0.70
c_strMethod · 0.45

Tested by

no test coverage detected