Home
last modified time | relevance | path

Searched refs:dirToDelete (Results 1 – 1 of 1) sorted by relevance

/system/timezone/tzdatacheck/
Dtzdatacheck.cpp232 static bool deleteDir(const std::string& dirToDelete) { in deleteDir() argument
234 int pathStatus = checkPath(dirToDelete); in deleteDir()
236 LOG(INFO) << "Path " << dirToDelete << " does not exist"; in deleteDir()
240 LOG(WARNING) << "Path " << dirToDelete << " failed to stat() or is not a directory."; in deleteDir()
246 std::string tempDirNameTemplate = getParentDir(dirToDelete); in deleteDir()
258 int rc = rename(dirToDelete.c_str(), &tempDirName[0]); in deleteDir()
260 PLOG(WARNING) << "Unable to rename directory from " << dirToDelete << " to " in deleteDir()