Searched refs:target_path (Results 1 – 1 of 1) sorted by relevance
1027 std::vector<std::string> target_path; in MakePathRelative() local1029 Split(target, '/', &target_path); in MakePathRelative()1033 std::reverse(target_path.begin(), target_path.end()); in MakePathRelative()1038 while (!target_path.empty() && !cwd_path.empty() in MakePathRelative()1039 && target_path.back() == cwd_path.back()) { in MakePathRelative()1040 target_path.pop_back(); in MakePathRelative()1048 target_path.push_back(".."); in MakePathRelative()1052 std::reverse(target_path.begin(), target_path.end()); in MakePathRelative()1053 return android::base::Join(target_path, '/'); in MakePathRelative()