• Home
  • Raw
  • Download

Lines Matching refs:dir_fd

899 .. function:: open(path, flags, mode=0o777, *, dir_fd=None)
912 <dir_fd>` with the *dir_fd* parameter.
925 The *dir_fd* argument.
1465 If the function also supports *dir_fd* or *follow_symlinks* arguments, it is
1470 * **paths relative to directory descriptors:** If *dir_fd* is not ``None``, it
1473 path is absolute, *dir_fd* is ignored. (For POSIX systems, Python will call
1476 You can check whether or not *dir_fd* is supported on your platform using
1494 .. function:: access(path, mode, *, dir_fd=None, effective_ids=False, follow_symlinks=True)
1506 descriptors <dir_fd>` and :ref:`not following symlinks <follow_symlinks>`.
1544 Added the *dir_fd*, *effective_ids*, and *follow_symlinks* parameters.
1606 .. function:: chmod(path, mode, *, dir_fd=None, follow_symlinks=True)
1633 :ref:`paths relative to directory descriptors <dir_fd>` and :ref:`not
1644 and the *dir_fd* and *follow_symlinks* arguments.
1650 .. function:: chown(path, uid, gid, *, dir_fd=None, follow_symlinks=True)
1656 :ref:`paths relative to directory descriptors <dir_fd>` and :ref:`not
1666 and the *dir_fd* and *follow_symlinks* arguments.
1742 supply :ref:`paths relative to directory descriptors <dir_fd>`, and :ref:`not
1790 .. function:: lstat(path, \*, dir_fd=None)
1799 As of Python 3.3, this is equivalent to ``os.stat(path, dir_fd=dir_fd,
1803 <dir_fd>`.
1813 Added the *dir_fd* parameter.
1819 .. function:: mkdir(path, mode=0o777, *, dir_fd=None)
1834 <dir_fd>`.
1840 The *dir_fd* argument.
1889 .. function:: mkfifo(path, mode=0o666, *, dir_fd=None)
1895 <dir_fd>`.
1906 The *dir_fd* argument.
1912 .. function:: mknod(path, mode=0o600, device=0, *, dir_fd=None)
1923 <dir_fd>`.
1928 The *dir_fd* argument.
1984 .. function:: readlink(path, *, dir_fd=None)
1997 <dir_fd>`.
2005 The *dir_fd* argument.
2011 .. function:: remove(path, *, dir_fd=None)
2017 <dir_fd>`.
2026 The *dir_fd* argument.
2060 supply :ref:`paths relative to directory descriptors <dir_fd>`.
2096 supply :ref:`paths relative to directory descriptors <dir_fd>`.
2104 .. function:: rmdir(path, *, dir_fd=None)
2111 <dir_fd>`.
2114 The *dir_fd* parameter.
2338 .. function:: stat(path, \*, dir_fd=None, follow_symlinks=True)
2370 Added the *dir_fd* and *follow_symlinks* arguments, specifying a file
2612 :mod:`os` module permit use of their *dir_fd* parameter. Different platforms
2615 *dir_fd* always allow specifying the parameter, but will raise an exception
2618 To check whether a particular function permits use of its *dir_fd*
2620 this expression determines whether the *dir_fd* parameter of :func:`os.stat`
2625 Currently *dir_fd* parameters only work on Unix platforms; none of them work
2690 .. function:: symlink(src, dst, target_is_directory=False, *, dir_fd=None)
2704 <dir_fd>`.
2724 Added the *dir_fd* argument, and now allow *target_is_directory*
2758 .. function:: unlink(path, *, dir_fd=None)
2766 The *dir_fd* parameter.
2772 .. function:: utime(path, times=None, *[, ns], dir_fd=None, follow_symlinks=True)
2801 :ref:`paths relative to directory descriptors <dir_fd>` and :ref:`not
2806 and the *dir_fd*, *follow_symlinks*, and *ns* parameters.
2905 .. function:: fwalk(top='.', topdown=True, onerror=None, *, follow_symlinks=False, dir_fd=None)
2912 ``(dirpath, dirnames, filenames, dirfd)``, and it supports ``dir_fd``.
2918 <dir_fd>` and :ref:`not following symlinks <follow_symlinks>`. Note however
2935 print(sum([os.stat(name, dir_fd=rootfd).st_size for name in files]),
2952 os.unlink(name, dir_fd=rootfd)
2954 os.rmdir(name, dir_fd=rootfd)