Lines Matching refs:commandPath
880 static IncFsErrorCode makeDir(const char* commandPath, int32_t mode, bool allowExisting) { in makeDir() argument
881 if (!::mkdir(commandPath, mode)) { in makeDir()
882 if (::chmod(commandPath, mode)) { in makeDir()
891 static IncFsErrorCode makeDirs(std::string_view commandPath, std::string_view path, in makeDirs() argument
893 auto commandCPath = details::c_str(commandPath); in makeDirs()
903 const auto parent = path::dirName(commandPath); in makeDirs()
924 auto commandPath = makeCommandPath(root, path); in IncFs_MakeDir() local
925 if (commandPath.empty()) { in IncFs_MakeDir()
929 if (auto res = makeDir(commandPath.c_str(), mode, false)) { in IncFs_MakeDir()
930 LOG(ERROR) << __func__ << "(): mkdir failed for " << commandPath << " - " << res; in IncFs_MakeDir()
945 auto commandPath = makeCommandPath(root, path); in IncFs_MakeDirs() local
946 if (commandPath.empty()) { in IncFs_MakeDirs()
950 return makeDirs(commandPath, path, root, mode); in IncFs_MakeDirs()