Home
last modified time | relevance | path

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

/third_party/python/Lib/test/
Dtest_tempfile.py1495 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 …]
Dtest_pathlib.py1430 os.symlink(src, dest, target_is_directory=True)
2222 link.symlink_to(target, target_is_directory=True)
Dtest_os.py308 target_is_directory=False, dir_fd=None)
4172 target_is_directory=True)
Dtest_shutil.py758 target_is_directory=True)
/third_party/python/Lib/
Dpathlib.py313 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/
Dpathlib.rst1122 .. 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.
Dos.rst2990 .. 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/
Dposixmodule.c.h4209 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__.py1015 os.symlink(self.tagged, self.package_name, target_is_directory=True)
/third_party/python/Modules/
Dposixmodule.c8756 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/
D3.3.rst1701 * :func:`os.symlink` now accepts (and ignores) the ``target_is_directory``