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};
44 int follow_symlinks = 1;
47 path_converter, &path, FSTATAT_DIR_FD_CONVERTER, &dir_fd, &follow_symlinks)) {
50 return_value = os_stat_impl(module, &path, dir_fd, follow_symlinks);
66 "Equivalent to stat(path, follow_symlinks=False).");
98 " follow_symlinks=True)\n"
115 " follow_symlinks\n"
120 "dir_fd, effective_ids, and follow_symlinks may not be implemented\n"
133 int effective_ids, int follow_symlinks);
139 static const char * const _keywords[] = {"path", "mode", "dir_fd", "effective_ids", "follow_symlinks", NULL};
145 int follow_symlinks = 1;
149 path_converter, &path, &mode, FACCESSAT_DIR_FD_CONVERTER, &dir_fd, &effective_ids, &follow_symlinks)) {
152 _return_value = os_access_impl(module, &path, mode, dir_fd, effective_ids, follow_symlinks);
301 "chmod($module, /, path, mode, *, dir_fd=None, follow_symlinks=True)\n"
316 " follow_symlinks\n"
321 "It is an error to use dir_fd or follow_symlinks when specifying path as\n"
323 "dir_fd and follow_symlinks may not be implemented on your platform.\n"
331 int follow_symlinks);
337 static const char * const _keywords[] = {"path", "mode", "dir_fd", "follow_symlinks", NULL};
342 int follow_symlinks = 1;
345 path_converter, &path, &mode, FCHMODAT_DIR_FD_CONVERTER, &dir_fd, &follow_symlinks)) {
348 return_value = os_chmod_impl(module, &path, mode, dir_fd, follow_symlinks);
403 "Equivalent to chmod(path, mode, follow_symlinks=False).\"");
438 "chflags($module, /, path, flags, follow_symlinks=True)\n"
443 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
446 "follow_symlinks may not be implemented on your platform. If it is\n"
454 int follow_symlinks);
460 static const char * const _keywords[] = {"path", "flags", "follow_symlinks", NULL};
464 int follow_symlinks = 1;
467 path_converter, &path, &flags, &follow_symlinks)) {
470 return_value = os_chflags_impl(module, &path, flags, follow_symlinks);
490 "Equivalent to chflags(path, flags, follow_symlinks=False).");
652 "chown($module, /, path, uid, gid, *, dir_fd=None, follow_symlinks=True)\n"
663 " follow_symlinks\n"
673 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
676 "It is an error to use dir_fd or follow_symlinks when specifying path as\n"
678 "dir_fd and follow_symlinks may not be implemented on your platform.\n"
686 int dir_fd, int follow_symlinks);
692 static const char * const _keywords[] = {"path", "uid", "gid", "dir_fd", "follow_symlinks", NULL};
698 int follow_symlinks = 1;
701 path_converter, &path, _Py_Uid_Converter, &uid, _Py_Gid_Converter, &gid, FCHOWNAT_DIR_FD_CONVERTER, &dir_fd, &follow_symlinks)) {
704 return_value = os_chown_impl(module, &path, uid, gid, dir_fd, follow_symlinks);
762 "Equivalent to os.chown(path, uid, gid, follow_symlinks=False).");
835 " follow_symlinks=True)\n"
843 "If follow_symlinks is False, and the last element of src is a symbolic\n"
846 "src_dir_fd, dst_dir_fd, and follow_symlinks may not be implemented on your\n"
855 int dst_dir_fd, int follow_symlinks);
861 static const char * const _keywords[] = {"src", "dst", "src_dir_fd", "dst_dir_fd", "follow_symlinks", NULL};
867 int follow_symlinks = 1;
870 path_converter, &src, path_converter, &dst, dir_fd_converter, &src_dir_fd, dir_fd_converter, &dst_dir_fd, &follow_symlinks)) {
873 return_value = os_link_impl(module, &src, &dst, src_dir_fd, dst_dir_fd, follow_symlinks);
1548 " follow_symlinks=True)\n"
1567 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
1570 "It is an error to use dir_fd or follow_symlinks when specifying path\n"
1572 "dir_fd and follow_symlinks may not be available on your platform.\n"
1580 int dir_fd, int follow_symlinks);
1586 static const char * const _keywords[] = {"path", "times", "ns", "dir_fd", "follow_symlinks", NULL};
1592 int follow_symlinks = 1;
1595 path_converter, &path, ×, &ns, FUTIMENSAT_DIR_FD_CONVERTER, &dir_fd, &follow_symlinks)) {
1598 return_value = os_utime_impl(module, &path, times, ns, dir_fd, follow_symlinks);
5232 "getxattr($module, /, path, attribute, *, follow_symlinks=True)\n"
5238 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
5247 int follow_symlinks);
5253 static const char * const _keywords[] = {"path", "attribute", "follow_symlinks", NULL};
5257 int follow_symlinks = 1;
5260 path_converter, &path, path_converter, &attribute, &follow_symlinks)) {
5263 return_value = os_getxattr_impl(module, &path, &attribute, follow_symlinks);
5280 " follow_symlinks=True)\n"
5286 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
5295 Py_buffer *value, int flags, int follow_symlinks);
5301 static const char * const _keywords[] = {"path", "attribute", "value", "flags", "follow_symlinks", NULL};
5307 int follow_symlinks = 1;
5310 path_converter, &path, path_converter, &attribute, &value, &flags, &follow_symlinks)) {
5313 return_value = os_setxattr_impl(module, &path, &attribute, &value, flags, follow_symlinks);
5333 "removexattr($module, /, path, attribute, *, follow_symlinks=True)\n"
5339 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
5348 int follow_symlinks);
5354 static const char * const _keywords[] = {"path", "attribute", "follow_symlinks", NULL};
5358 int follow_symlinks = 1;
5361 path_converter, &path, path_converter, &attribute, &follow_symlinks)) {
5364 return_value = os_removexattr_impl(module, &path, &attribute, follow_symlinks);
5380 "listxattr($module, /, path=None, *, follow_symlinks=True)\n"
5387 "If follow_symlinks is False, and the last element of the path is a symbolic\n"
5395 os_listxattr_impl(PyObject *module, path_t *path, int follow_symlinks);
5401 static const char * const _keywords[] = {"path", "follow_symlinks", NULL};
5404 int follow_symlinks = 1;
5407 path_converter, &path, &follow_symlinks)) {
5410 return_value = os_listxattr_impl(module, &path, follow_symlinks);