Home
last modified time | relevance | path

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

/system/timezone/tzdatacheck/
Dtzdatacheck.cpp202 static bool deleteFile(const std::string& fileToDelete) { in deleteFile() argument
204 PathStatus pathStatus = checkPath(fileToDelete); in deleteFile()
206 LOG(INFO) << "Path " << fileToDelete << " does not exist"; in deleteFile()
210 LOG(WARNING) << "Path " << fileToDelete << " failed to stat() or is not a file."; in deleteFile()
215 int rc = unlink(fileToDelete.c_str()); in deleteFile()
217 PLOG(WARNING) << "unlink() failed for " << fileToDelete; in deleteFile()