MCPcopy Create free account
hub / github.com/apache/nifi-minifi-cpp / stat

Class stat

main/MainHelper.cpp:81–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79
80bool validHome(const std::string &home_path) {
81 struct stat stat_result { };
82 const std::string properties_file_path = utils::file::FileUtils::concat_path(home_path, DEFAULT_NIFI_PROPERTIES_FILE);
83 return stat(properties_file_path.c_str(), &stat_result) == 0;
84}

Callers 1

validHomeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected