Searched refs:target_is_directory (Results 1 – 11 of 11) sorted by relevance
/external/python/cpython2/Lib/test/ |
D | symlink_support.py | 29 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/python/cpython3/Lib/ |
D | pathlib.py | 424 def symlink(a, b, target_is_directory): argument 429 def symlink(a, b, target_is_directory): argument 1323 def symlink_to(self, target, target_is_directory=False): argument 1330 self._accessor.symlink(target, self, target_is_directory)
|
/external/python/cpython3/Doc/library/ |
D | pathlib.rst | 1010 .. method:: Path.symlink_to(target, target_is_directory=False) 1013 *target_is_directory* must be true (default ``False``) if the link's target 1014 is a directory. Under POSIX, *target_is_directory*'s value is ignored.
|
D | os.rst | 2690 .. function:: symlink(src, dst, target_is_directory=False, *, dir_fd=None) 2697 as a directory if *target_is_directory* is ``True`` or a file symlink (the 2698 default) otherwise. On non-Windows platforms, *target_is_directory* is ignored. 2724 Added the *dir_fd* argument, and now allow *target_is_directory*
|
/external/python/cpython3/Modules/clinic/ |
D | posixmodule.c.h | 3143 int target_is_directory, int dir_fd); 3153 int target_is_directory = 0; in os_symlink() local 3157 …path_converter, &src, path_converter, &dst, &target_is_directory, SYMLINKAT_DIR_FD_CONVERTER, &dir… in os_symlink() 3160 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__.py | 938 os.symlink(self.tagged, self.package_name, target_is_directory=True)
|
/external/python/cpython3/Lib/test/ |
D | test_pathlib.py | 1256 os.symlink(src, dest, target_is_directory=True) 1854 link.symlink_to(target, target_is_directory=True)
|
D | test_os.py | 229 target_is_directory=False, dir_fd=None) 3433 target_is_directory=True)
|
D | test_shutil.py | 910 target_is_directory=True)
|
/external/python/cpython3/Modules/ |
D | posixmodule.c | 7393 int target_is_directory, int dir_fd) in os_symlink_impl() argument 7419 target_is_directory |= _check_dirW(src->wide, dst->wide); in os_symlink_impl() 7421 target_is_directory); in os_symlink_impl()
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 1701 * :func:`os.symlink` now accepts (and ignores) the ``target_is_directory``
|