Home
last modified time | relevance | path

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

/bootable/recovery/otautil/
DDirUtil.cpp31 enum class DirStatus { DMISSING, DDIR, DILLEGAL }; enum
33 static DirStatus dir_status(const std::string& path) { in dir_status()
38 return DirStatus::DDIR; in dir_status()
41 return DirStatus::DILLEGAL; in dir_status()
44 return DirStatus::DILLEGAL; in dir_status()
46 return DirStatus::DMISSING; in dir_status()
73 DirStatus ds = dir_status(path); in mkdir_recursively()
74 if (ds == DirStatus::DDIR) { in mkdir_recursively()
76 } else if (ds == DirStatus::DILLEGAL) { in mkdir_recursively()
90 case DirStatus::DILLEGAL: in mkdir_recursively()
[all …]