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

Function binaryDirectory

src/utils/paths.cpp:11–22  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9namespace paths
10{
11optional<string> binaryDirectory()
12{
13 const auto path = QCoreApplication::applicationDirPath();
14
15 if ( path == "" )
16 {
17 LOG( ERROR ) << "Could not find binary directory.";
18 return std::nullopt;
19 }
20
21 return path.toStdString();
22}
23
24optional<string> binaryDirectoryFindFile( const string fileName )
25{

Callers 1

binaryDirectoryFindFileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected