Searched refs:cwd_path (Results 1 – 1 of 1) sorted by relevance
827 std::vector<std::string> cwd_path; in MakePathRelative() local829 Split(cwd, '/', &cwd_path); in MakePathRelative()833 std::reverse(cwd_path.begin(), cwd_path.end()); in MakePathRelative()837 while (!target_path.empty() && !cwd_path.empty() in MakePathRelative()838 && target_path.back() == cwd_path.back()) { in MakePathRelative()840 cwd_path.pop_back(); in MakePathRelative()846 for (unsigned int i = 0; i < cwd_path.size(); i++) { in MakePathRelative()