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

Function processFilename

src/env.cpp:1004–1012  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1002}
1003
1004std::wstring processFilename(HANDLE process = INVALID_HANDLE_VALUE)
1005{
1006 const auto p = processPath(process);
1007 if (p.empty()) {
1008 return {};
1009 }
1010
1011 return p.filename().native();
1012}
1013
1014std::filesystem::path thisProcessPath()
1015{

Callers 1

findOtherPidFunction · 0.85

Calls 3

processPathFunction · 0.85
filenameMethod · 0.80
emptyMethod · 0.45

Tested by

no test coverage detected