Home
last modified time | relevance | path

Searched refs:dst_dir (Results 1 – 1 of 1) sorted by relevance

/system/core/adb/client/
Dfile_sync_client.cpp998 std::string dst_dir = dst; in do_sync_push() local
1009 if (dst_dir.back() != '/') { in do_sync_push()
1010 dst_dir.push_back('/'); in do_sync_push()
1012 dst_dir.append(android::base::Basename(src_path)); in do_sync_push()
1015 success &= copy_local_dir_remote(sc, src_path, dst_dir, sync, false); in do_sync_push()
1228 std::string dst_dir = dst; in do_sync_pull() local
1237 if (!adb_is_separator(dst_dir.back())) { in do_sync_pull()
1238 dst_dir.push_back(OS_PATH_SEPARATOR); in do_sync_pull()
1240 dst_dir.append(android::base::Basename(src_path)); in do_sync_pull()
1243 success &= copy_remote_dir_local(sc, src_path, dst_dir, copy_attrs); in do_sync_pull()