Searched refs:path_prefix (Results 1 – 2 of 2) sorted by relevance
77 bool PartialMatch(const std::filesystem::path& pattern, const std::filesystem::path& path_prefix) { in PartialMatch() argument79 path_prefix_it = path_prefix.begin(); in PartialMatch()82 if (path_prefix_it == path_prefix.end()) { in PartialMatch()
811 std::string path_prefix(path); in IsLocationOn() local812 if (!EndsWithSlash(path_prefix.c_str())) { in IsLocationOn()813 path_prefix.append("/"); in IsLocationOn()820 path_prefix.append(subdir); in IsLocationOn()823 return full_path.starts_with(path_prefix); in IsLocationOn()