Lines Matching refs:commandPath
884 static IncFsErrorCode makeDir(const char* commandPath, int32_t mode, bool allowExisting) { in makeDir() argument
885 if (!::mkdir(commandPath, mode)) { in makeDir()
886 if (::chmod(commandPath, mode)) { in makeDir()
895 static IncFsErrorCode makeDirs(std::string_view commandPath, std::string_view path, in makeDirs() argument
897 auto commandCPath = details::c_str(commandPath); in makeDirs()
907 const auto parent = path::dirName(commandPath); in makeDirs()
928 auto commandPath = makeCommandPath(root, path); in IncFs_MakeDir() local
929 if (commandPath.empty()) { in IncFs_MakeDir()
933 if (auto res = makeDir(commandPath.c_str(), mode, false)) { in IncFs_MakeDir()
934 LOG(ERROR) << __func__ << "(): mkdir failed for " << commandPath << " - " << res; in IncFs_MakeDir()
949 auto commandPath = makeCommandPath(root, path); in IncFs_MakeDirs() local
950 if (commandPath.empty()) { in IncFs_MakeDirs()
954 return makeDirs(commandPath, path, root, mode); in IncFs_MakeDirs()