Lines Matching defs:follow_symlinks
6 "stat($module, /, path, *, dir_fd=None, follow_symlinks=True)\n"
18 " follow_symlinks\n"
23 "dir_fd and follow_symlinks may not be implemented\n"
27 "It\'s an error to use dir_fd or follow_symlinks when specifying path as\n"
34 os_stat_impl(PyObject *module, path_t *path, int dir_fd, int follow_symlinks);
40 static const char * const _keywords[] = {"path", "dir_fd", "follow_symlinks", NULL};
46 int follow_symlinks = 1;
66 follow_symlinks = PyObject_IsTrue(args[2]);
67 if (follow_symlinks < 0) {
71 return_value = os_stat_impl(module, &path, dir_fd, follow_symlinks);
87 "Equivalent to stat(path, follow_symlinks=False).");
131 " follow_symlinks=True)\n"
148 " follow_symlinks\n"
153 "dir_fd, effective_ids, and follow_symlinks may not be implemented\n"
166 int effective_ids, int follow_symlinks);
172 static const char * const _keywords[] = {"path", "mode", "dir_fd", "effective_ids", "follow_symlinks", NULL};
180 int follow_symlinks = 1;
214 follow_symlinks = PyObject_IsTrue(args[4]);
215 if (follow_symlinks < 0) {
219 _return_value = os_access_impl(module, &path, mode, dir_fd, effective_ids, follow_symlinks);
372 "chmod($module, /, path, mode, *, dir_fd=None, follow_symlinks=True)\n"
387 " follow_symlinks\n"
392 "It is an error to use dir_fd or follow_symlinks when specifying path as\n"
394 "dir_fd and follow_symlinks may not be implemented on your platform.\n"
402 int follow_symlinks);
408 static const char * const _keywords[] = {"path", "mode", "dir_fd", "follow_symlinks", NULL};
415 int follow_symlinks = 1;
439 follow_symlinks = PyObject_IsTrue(args[3]);
440 if (follow_symlinks < 0) {
444 return_value = os_chmod_impl(module, &path, mode, dir_fd, follow_symlinks);
508 "Equivalent to chmod(path, mode, follow_symlinks=False).\"");
551 "chflags($module, /, path, flags, follow_symlinks=True)\n"
556 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
559 "follow_symlinks may not be implemented on your platform. If it is\n"
567 int follow_symlinks);
573 static const char * const _keywords[] = {"path", "flags", "follow_symlinks", NULL};
579 int follow_symlinks = 1;
596 follow_symlinks = PyObject_IsTrue(args[2]);
597 if (follow_symlinks < 0) {
601 return_value = os_chflags_impl(module, &path, flags, follow_symlinks);
621 "Equivalent to chflags(path, flags, follow_symlinks=False).");
804 "chown($module, /, path, uid, gid, *, dir_fd=None, follow_symlinks=True)\n"
815 " follow_symlinks\n"
825 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
828 "It is an error to use dir_fd or follow_symlinks when specifying path as\n"
830 "dir_fd and follow_symlinks may not be implemented on your platform.\n"
838 int dir_fd, int follow_symlinks);
844 static const char * const _keywords[] = {"path", "uid", "gid", "dir_fd", "follow_symlinks", NULL};
852 int follow_symlinks = 1;
878 follow_symlinks = PyObject_IsTrue(args[4]);
879 if (follow_symlinks < 0) {
883 return_value = os_chown_impl(module, &path, uid, gid, dir_fd, follow_symlinks);
952 "Equivalent to os.chown(path, uid, gid, follow_symlinks=False).");
1035 " follow_symlinks=True)\n"
1043 "If follow_symlinks is False, and the last element of src is a symbolic\n"
1046 "src_dir_fd, dst_dir_fd, and follow_symlinks may not be implemented on your\n"
1055 int dst_dir_fd, int follow_symlinks);
1061 static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", "follow_symlinks", NULL};
1069 int follow_symlinks = 1;
1100 follow_symlinks = PyObject_IsTrue(args[4]);
1101 if (follow_symlinks < 0) {
1105 return_value = os_link_impl(module, &src, &dst, src_dir_fd, dst_dir_fd, follow_symlinks);
1996 " dir_fd=None, follow_symlinks=True)\n"
2015 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
2018 "It is an error to use dir_fd or follow_symlinks when specifying path\n"
2020 "dir_fd and follow_symlinks may not be available on your platform.\n"
2028 int dir_fd, int follow_symlinks);
2034 static const char * const _keywords[] = {"path", "times", "ns", "dir_fd", "follow_symlinks", NULL};
2042 int follow_symlinks = 1;
2078 follow_symlinks = PyObject_IsTrue(args[4]);
2079 if (follow_symlinks < 0) {
2083 return_value = os_utime_impl(module, &path, times, ns, dir_fd, follow_symlinks);
7530 "getxattr($module, /, path, attribute, *, follow_symlinks=True)\n"
7536 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
7545 int follow_symlinks);
7551 static const char * const _keywords[] = {"path", "attribute", "follow_symlinks", NULL};
7557 int follow_symlinks = 1;
7572 follow_symlinks = PyObject_IsTrue(args[2]);
7573 if (follow_symlinks < 0) {
7577 return_value = os_getxattr_impl(module, &path, &attribute, follow_symlinks);
7594 " follow_symlinks=True)\n"
7600 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
7609 Py_buffer *value, int flags, int follow_symlinks);
7615 static const char * const _keywords[] = {"path", "attribute", "value", "flags", "follow_symlinks", NULL};
7623 int follow_symlinks = 1;
7658 follow_symlinks = PyObject_IsTrue(args[4]);
7659 if (follow_symlinks < 0) {
7663 return_value = os_setxattr_impl(module, &path, &attribute, &value, flags, follow_symlinks);
7683 "removexattr($module, /, path, attribute, *, follow_symlinks=True)\n"
7689 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
7698 int follow_symlinks);
7704 static const char * const _keywords[] = {"path", "attribute", "follow_symlinks", NULL};
7710 int follow_symlinks = 1;
7725 follow_symlinks = PyObject_IsTrue(args[2]);
7726 if (follow_symlinks < 0) {
7730 return_value = os_removexattr_impl(module, &path, &attribute, follow_symlinks);
7746 "listxattr($module, /, path=None, *, follow_symlinks=True)\n"
7753 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
7761 os_listxattr_impl(PyObject *module, path_t *path, int follow_symlinks);
7767 static const char * const _keywords[] = {"path", "follow_symlinks", NULL};
7772 int follow_symlinks = 1;
7793 follow_symlinks = PyObject_IsTrue(args[1]);
7794 if (follow_symlinks < 0) {
7798 return_value = os_listxattr_impl(module, &path, follow_symlinks);
8350 "stat($self, /, *, follow_symlinks=True)\n"
8360 int follow_symlinks);
8366 static const char * const _keywords[] = {"follow_symlinks", NULL};
8370 int follow_symlinks = 1;
8379 follow_symlinks = PyObject_IsTrue(args[0]);
8380 if (follow_symlinks < 0) {
8384 return_value = os_DirEntry_stat_impl(self, defining_class, follow_symlinks);
8391 "is_dir($self, /, *, follow_symlinks=True)\n"
8401 int follow_symlinks);
8407 static const char * const _keywords[] = {"follow_symlinks", NULL};
8411 int follow_symlinks = 1;
8421 follow_symlinks = PyObject_IsTrue(args[0]);
8422 if (follow_symlinks < 0) {
8426 _return_value = os_DirEntry_is_dir_impl(self, defining_class, follow_symlinks);
8437 "is_file($self, /, *, follow_symlinks=True)\n"
8447 int follow_symlinks);
8453 static const char * const _keywords[] = {"follow_symlinks", NULL};
8457 int follow_symlinks = 1;
8467 follow_symlinks = PyObject_IsTrue(args[0]);
8468 if (follow_symlinks < 0) {
8472 _return_value = os_DirEntry_is_file_impl(self, defining_class, follow_symlinks);