Lines Matching refs:stat
41 import stat
217 fs = os.stat(data)
649 if not stat.S_ISDIR(fs.st_mode):
688 fs = os.stat(os.path.join(*pathlist[:i]))
951 stat.S_IFIFO: "fifo",
952 stat.S_IFCHR: "character device",
953 stat.S_IFDIR: "directory",
954 stat.S_IFBLK: "block device",
955 stat.S_IFREG: "regular file",
956 stat.S_IFLNK: "symbolic link",
957 stat.S_IFSOCK: "socket",
1010 if ftype is not None and ftype != stat.S_IFMT(lstat.st_mode):
1013 found=ftype_to_name(stat.S_IFMT(lstat.st_mode)),
1035 if mode is not None and stat.S_IMODE(lstat.st_mode) != mode:
1038 found=oct(stat.S_IMODE(lstat.st_mode)),
1120 not stat.S_ISDIR(os.lstat(path).st_mode):