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

Method onFile

src/shared/directoryentry.cpp:665–670  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

663}
664
665void DirectoryEntry::onFile(Context* cx, std::wstring_view path, FILETIME ft)
666{
667 elapsed(cx->stats.fileTimes, [&] {
668 cx->current.top()->insert(path, cx->origin, ft, L"", -1, cx->stats);
669 });
670}
671
672void DirectoryEntry::addFiles(FilesOrigin& origin, const BSA::Folder::Ptr archiveFolder,
673 FILETIME fileTime, const std::wstring& archiveName,

Callers

nothing calls this directly

Calls 1

insertMethod · 0.45

Tested by

no test coverage detected