MCPcopy Create free account
hub / github.com/OpenVR-Advanced-Settings/OpenVR-AdvancedSettings / verifyIconFilePath

Function verifyIconFilePath

src/utils/paths.cpp:60–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58}
59
60std::optional<std::string> verifyIconFilePath( std::string filename )
61{
62 const auto notifIconPath = paths::binaryDirectoryFindFile( filename );
63 if ( !notifIconPath.has_value() )
64 {
65 LOG( ERROR ) << "Could not find icon \"" << filename << "\"";
66 }
67
68 return notifIconPath;
69}
70
71} // namespace paths

Callers 2

initStage2Method · 0.85
initStage2Method · 0.85

Calls 1

binaryDirectoryFindFileFunction · 0.85

Tested by

no test coverage detected