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

Method getRelativePath

src/shared/fileentry.cpp:231–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

229}
230
231std::wstring FileEntry::getRelativePath() const
232{
233 std::wstring result;
234
235 // all intermediate directories
236 recurseParents(result, m_Parent);
237
238 return result + L"\\" + m_Name;
239}
240
241bool FileEntry::recurseParents(std::wstring& path, const DirectoryEntry* parent) const
242{

Callers 1

updateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected