MCPcopy Create free account
hub / github.com/ModOrganizer2/modorganizer / onDirectoryStart

Method onDirectoryStart

src/shared/directoryentry.cpp:648–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

646}
647
648void DirectoryEntry::onDirectoryStart(Context* cx, std::wstring_view path)
649{
650 elapsed(cx->stats.dirTimes, [&] {
651 auto* sd =
652 cx->current.top()->getSubDirectory(path, true, cx->stats, cx->origin.getID());
653
654 cx->current.push(sd);
655 });
656}
657
658void DirectoryEntry::onDirectoryEnd(Context* cx, std::wstring_view path)
659{

Callers

nothing calls this directly

Calls 2

getSubDirectoryMethod · 0.80
getIDMethod · 0.80

Tested by

no test coverage detected