Searched refs:cwd_path (Results 1 – 1 of 1) sorted by relevance
1028 std::vector<std::string> cwd_path; in MakePathRelative() local1030 Split(cwd, '/', &cwd_path); in MakePathRelative()1034 std::reverse(cwd_path.begin(), cwd_path.end()); in MakePathRelative()1038 while (!target_path.empty() && !cwd_path.empty() in MakePathRelative()1039 && target_path.back() == cwd_path.back()) { in MakePathRelative()1041 cwd_path.pop_back(); in MakePathRelative()1047 for (unsigned int i = 0; i < cwd_path.size(); i++) { in MakePathRelative()