Searched refs:target_is_directory (Results 1 – 11 of 11) sorted by relevance
/third_party/python/Lib/test/ |
D | test_tempfile.py | 1495 def test(target, target_is_directory): argument 1499 target_is_directory=target_is_directory) 1513 test('nonexisting', target_is_directory=False) 1515 test('nonexisting', target_is_directory=True) 1520 test(file1, target_is_directory=False) 1528 test(dir1, target_is_directory=True) 1545 def test(target, target_is_directory): argument 1549 target_is_directory=target_is_directory) 1563 test('nonexisting', target_is_directory=False) 1565 test('nonexisting', target_is_directory=True) [all …]
|
D | test_pathlib.py | 1430 os.symlink(src, dest, target_is_directory=True) 2222 link.symlink_to(target, target_is_directory=True)
|
D | test_os.py | 308 target_is_directory=False, dir_fd=None) 4172 target_is_directory=True)
|
D | test_shutil.py | 758 target_is_directory=True)
|
/third_party/python/Lib/ |
D | pathlib.py | 313 def symlink(self, src, dst, target_is_directory=False): argument 1248 def symlink_to(self, target, target_is_directory=False): argument 1253 self._accessor.symlink(target, self, target_is_directory)
|
/third_party/python/Doc/library/ |
D | pathlib.rst | 1122 .. method:: Path.symlink_to(target, target_is_directory=False) 1125 *target_is_directory* must be true (default ``False``) if the link's target 1126 is a directory. Under POSIX, *target_is_directory*'s value is ignored.
|
D | os.rst | 2990 .. function:: symlink(src, dst, target_is_directory=False, *, dir_fd=None) 2997 as a directory if *target_is_directory* is ``True`` or a file symlink (the 2998 default) otherwise. On non-Windows platforms, *target_is_directory* is ignored. 3022 Added the *dir_fd* argument, and now allow *target_is_directory*
|
/third_party/python/Modules/clinic/ |
D | posixmodule.c.h | 4209 int target_is_directory, int dir_fd); 4221 int target_is_directory = 0; in os_symlink() local 4238 target_is_directory = PyObject_IsTrue(args[2]); in os_symlink() 4239 if (target_is_directory < 0) { in os_symlink() 4254 return_value = os_symlink_impl(module, &src, &dst, target_is_directory, dir_fd); in os_symlink()
|
/third_party/python/Lib/test/test_import/ |
D | __init__.py | 1015 os.symlink(self.tagged, self.package_name, target_is_directory=True)
|
/third_party/python/Modules/ |
D | posixmodule.c | 8756 int target_is_directory, int dir_fd) in os_symlink_impl() argument 8787 if (target_is_directory || _check_dirW(src->wide, dst->wide)) { in os_symlink_impl()
|
/third_party/python/Doc/whatsnew/ |
D | 3.3.rst | 1701 * :func:`os.symlink` now accepts (and ignores) the ``target_is_directory``
|