Home
last modified time | relevance | path

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

/external/rust/crates/tokio/src/fs/
Dmod.rs97 mod symlink_dir;
98 pub use self::symlink_dir::symlink_dir;
Dsymlink_dir.rs14 pub async fn symlink_dir(src: impl AsRef<Path>, dst: impl AsRef<Path>) -> io::Result<()> { in symlink_dir() function
18 asyncify(move || std::os::windows::fs::symlink_dir(src, dst)).await in symlink_dir()
/external/rust/cxx/gen/src/
Dfs.rs121 pub(crate) use self::symlink_file as symlink_dir;
125 pub(crate) use self::symlink_fail as symlink_dir;
142 pub(crate) fn symlink_dir(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_dir() function
146 std::os::windows::fs::symlink_dir, in symlink_dir()
/external/toolchain-utils/llvm_tools/
Dupdate_chromeos_llvm_hash_unittest.py260 symlink_dir = os.path.dirname(symlink)
269 expected_cmd = ['git', '-C', symlink_dir, 'mv', ebuild, new_ebuild]
277 expected_cmd = ['git', '-C', symlink_dir, 'add', new_symlink]
281 expected_cmd = ['git', '-C', symlink_dir, 'rm', symlink]
304 symlink_dir = os.path.dirname(symlink)
309 expected_cmd = ['git', '-C', symlink_dir, 'mv', ebuild, new_ebuild]
317 expected_cmd = ['git', '-C', symlink_dir, 'add', new_symlink]
321 expected_cmd = ['git', '-C', symlink_dir, 'rm', symlink]
Dcherrypick_cl.py221 symlink_dir = os.path.dirname(symlink)
222 patches_json_path = os.path.join(symlink_dir, 'files/PATCHES.json')
224 patches_dir = os.path.join(symlink_dir, 'files', relative_patches_dir)
244 subprocess.check_output(['git', 'add', '--all'], cwd=symlink_dir)
Dupdate_chromeos_llvm_hash.py307 symlink_dir = os.path.dirname(symlink)
310 subprocess.check_output(['git', '-C', symlink_dir, 'mv', ebuild, new_ebuild])
319 subprocess.check_output(['git', '-C', symlink_dir, 'add', new_symlink])
322 subprocess.check_output(['git', '-C', symlink_dir, 'rm', symlink])
/external/rust/cxx/gen/build/src/
Dout.rs51 pub(crate) fn symlink_dir(original: impl AsRef<Path>, link: impl AsRef<Path>) -> Result<()> { in symlink_dir() function
63 match fs::symlink_dir(original, link) { in symlink_dir()
Dlib.rs366 if out::symlink_dir(manifest_dir, link).is_err() && cfg!(not(unix)) { in make_crate_dir()
/external/rust/crates/walkdir/src/tests/
Dutil.rs177 pub fn symlink_dir<P1: AsRef<Path>, P2: AsRef<Path>>( in symlink_dir() method
184 use std::os::windows::fs::symlink_dir; in symlink_dir()
185 symlink_dir(src, link_name) in symlink_dir()
Drecursive.rs389 dir.symlink_dir("a", "a-link"); in sym_root_dir_nofollow()
425 dir.symlink_dir("a", "a-link"); in sym_root_dir_follow()
533 dir.symlink_dir("a", "a-link"); in sym_dir_nofollow()
570 dir.symlink_dir("a", "a-link"); in sym_dir_follow()
613 dir.symlink_dir("a", "a/b/c/a-link"); in sym_noloop()
627 dir.symlink_dir("a", "a/b/c/a-link"); in sym_loop_detect()
697 dir.symlink_dir("a", "a"); in sym_dir_self_loop_io_error()
983 dir.symlink_dir("/sys", "sys-link"); in same_file_system()
/external/rust/cxx/tools/cargo/
Dbuild.rs65 && windows::symlink_dir(&original_dir, &link_dir).is_err() in main()
/external/rust/crates/same-file/src/
Dlib.rs472 use std::os::windows::fs::symlink_dir; in soft_link_dir()
473 symlink_dir(src, dst) in soft_link_dir()
/external/chromium-trace/catapult/devil/devil/android/
Ddevice_utils_test.py3899 symlink_dir = os.path.join(layout_root, 'dir3')
3900 os.symlink(dir2, symlink_dir)
3902 yield Layout(layout_root, basic_file, symlink, symlink_dir, dir1, dir2)
3960 expected = [(os.path.realpath(layout.symlink_dir), device_path, False)]
3962 device_utils._IterPushableComponents(layout.symlink_dir, device_path))
3983 (os.path.realpath(layout.symlink_dir),
3986 *os.path.split(os.path.relpath(layout.symlink_dir,