Searched refs:target_path (Results 1 – 1 of 1) sorted by relevance
826 std::vector<std::string> target_path; in MakePathRelative() local828 Split(target, '/', &target_path); in MakePathRelative()832 std::reverse(target_path.begin(), target_path.end()); in MakePathRelative()837 while (!target_path.empty() && !cwd_path.empty() in MakePathRelative()838 && target_path.back() == cwd_path.back()) { in MakePathRelative()839 target_path.pop_back(); in MakePathRelative()847 target_path.push_back(".."); in MakePathRelative()851 std::reverse(target_path.begin(), target_path.end()); in MakePathRelative()852 return Join(target_path, '/'); in MakePathRelative()