Searched refs:type_str (Results 1 – 2 of 2) sorted by relevance
48 Command::Type Command::ParseType(const std::string& type_str) { in ParseType() argument49 if (type_str == "abort") { in ParseType()55 } else if (type_str == "bsdiff") { in ParseType()57 } else if (type_str == "compute_hash_tree") { in ParseType()59 } else if (type_str == "erase") { in ParseType()61 } else if (type_str == "free") { in ParseType()63 } else if (type_str == "imgdiff") { in ParseType()65 } else if (type_str == "move") { in ParseType()67 } else if (type_str == "new") { in ParseType()69 } else if (type_str == "stash") { in ParseType()[all …]
323 static Type ParseType(const std::string& type_str);