MCPcopy Create free account
hub / github.com/DFIR-ORC/dfir-orc / GetFilePath

Function GetFilePath

tests/OrcApacheOrcTest/orc_output.cpp:293–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291 }
292
293 std::wstring GetFilePath(const std::wstring& strFileName)
294 {
295 std::wstring retval;
296
297 if (auto hr = GetOutputFile(strFileName.c_str(), retval); FAILED(hr))
298 throw Orc::Exception(
299 Severity::Fatal, hr, L"Failed to expand output file name (from string {})", strFileName);
300 return retval;
301 }
302 std::string GetFilePath(const std::string& strFileName)
303 {
304

Callers 1

TEST_METHODFunction · 0.70

Calls 4

AnsiToWideFunction · 0.85
WideToAnsiFunction · 0.85
c_strMethod · 0.80
ExceptionClass · 0.50

Tested by

no test coverage detected