Lines Matching refs:PathStatus
199 enum PathStatus { ERR, NONE, IS_DIR, IS_REG, UNKNOWN };
201 static PathStatus checkPath(const std::string& path) {
219 PathStatus pathStatus = checkPath(fileToDelete);
220 if (pathStatus == NONE) {
224 if (pathStatus != IS_REG) {
249 int pathStatus = checkPath(dirToDelete);
250 if (pathStatus == NONE) {
254 if (pathStatus != IS_DIR) {
317 const PathStatus dataCurrentDirStatus) {
362 const PathStatus dataCurrentDirStatus) {
408 PathStatus dataStagedDirStatus = checkPath(dataStagedDirName);
427 PathStatus
487 PathStatus dataCurrentDirStatus = checkPath(dataCurrentDirName);