Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/
Dsymlink_support.py29 def _symlink_win32(target, link, target_is_directory=False): argument
88 target_is_directory = target_is_directory or os.path.isdir(target)
89 handle_nonzero_success(CreateSymbolicLink(link, target, target_is_directory))
/external/zstd/build/meson/
DInstallSymlink.py27 new_dst.symlink_to(src, target_is_directory=dst_is_dir)
/external/lz4/contrib/meson/
DInstallSymlink.py27 new_dst.symlink_to(src, target_is_directory=dst_is_dir)
/external/python/parse_type/tasks/_vendor/
Dpathlib.py386 def symlink(a, b, target_is_directory): argument
391 def symlink(a, b, target_is_directory): argument
1162 def symlink_to(self, target, target_is_directory=False): argument
1167 self._accessor.symlink(target, self, target_is_directory)
/external/python/cpython3/Lib/
Dpathlib.py439 def symlink(a, b, target_is_directory): argument
444 def symlink(a, b, target_is_directory): argument
1393 def symlink_to(self, target, target_is_directory=False): argument
1398 self._accessor.symlink(target, self, target_is_directory)
/external/pigweed/pw_arduino_build/py/pw_arduino_build/
Dcore_installer.py302 target_is_directory=True)
/external/python/pyfakefs/pyfakefs/
Dfake_pathlib.py129 lambda fs, file_path, link_target, target_is_directory:
/external/python/cpython3/Doc/library/
Dpathlib.rst1100 .. method:: Path.symlink_to(target, target_is_directory=False)
1103 *target_is_directory* must be true (default ``False``) if the link's target
1104 is a directory. Under POSIX, *target_is_directory*'s value is ignored.
Dos.rst2856 .. function:: symlink(src, dst, target_is_directory=False, *, dir_fd=None)
2863 as a directory if *target_is_directory* is ``True`` or a file symlink (the
2864 default) otherwise. On non-Windows platforms, *target_is_directory* is ignored.
2888 Added the *dir_fd* argument, and now allow *target_is_directory*
/external/python/cpython3/Modules/clinic/
Dposixmodule.c.h4290 int target_is_directory, int dir_fd);
4302 int target_is_directory = 0; in os_symlink() local
4319 target_is_directory = PyObject_IsTrue(args[2]); in os_symlink()
4320 if (target_is_directory < 0) { in os_symlink()
4335 return_value = os_symlink_impl(module, &src, &dst, target_is_directory, dir_fd); in os_symlink()
/external/python/cpython3/Lib/test/test_import/
D__init__.py1013 os.symlink(self.tagged, self.package_name, target_is_directory=True)
/external/python/cpython3/Lib/test/
Dtest_pathlib.py1380 os.symlink(src, dest, target_is_directory=True)
2095 link.symlink_to(target, target_is_directory=True)
Dtest_os.py288 target_is_directory=False, dir_fd=None)
3917 target_is_directory=True)
Dtest_shutil.py751 target_is_directory=True)
/external/python/cpython3/Modules/
Dposixmodule.c8622 int target_is_directory, int dir_fd) in os_symlink_impl() argument
8653 if (target_is_directory || _check_dirW(src->wide, dst->wide)) { in os_symlink_impl()
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1701 * :func:`os.symlink` now accepts (and ignores) the ``target_is_directory``