Searched refs:cwd_path (Results 1 – 1 of 1) sorted by relevance
965 std::vector<std::string> cwd_path; in MakePathRelative() local967 Split(cwd, '/', &cwd_path); in MakePathRelative()971 std::reverse(cwd_path.begin(), cwd_path.end()); in MakePathRelative()975 while (!target_path.empty() && !cwd_path.empty() in MakePathRelative()976 && target_path.back() == cwd_path.back()) { in MakePathRelative()978 cwd_path.pop_back(); in MakePathRelative()984 for (unsigned int i = 0; i < cwd_path.size(); i++) { in MakePathRelative()