a �DOgm� @sJdZdZdZdZdZdZdZdZdZd Z d Z d d �Z d d�Z dZ dZdZdZdZdZdZdZdZdZdd�Zdd�Zdd�Zdd�Zdd�Zd d!�Zd"d#�Zd$d%�Zd&d'�Zd(d)�Z d*Z!d+Z"e"Z#d,Z$d-Z%d.Z&d/Z'd0Z(d-Z)d.Z*d/Z+d1Z,d2Z-d3Z.d Z/dZ0dZ1dZ2dZ3dZ4dZ5dZ6d Z7d3Z8d2Z9dZ:d4Z;d5Zd8Z?ed9fed:fed;fedfed?ffe)d@ffe*dAffe+e!Bd:fe!dBfe+dCffe-d@ffe.dAffe/e"Bd:fe"dBfe/dCffe1d@ffe2dAffe3e$BdDfe$dEfe3dCfff Z@dFdG�ZAd2ZBd*ZCd/ZDd3ZEdZFdZGdZHd.ZIdZJd5ZKdZLdZMd+ZNd,ZOdZPd-ZQd4ZRz ddHlSTWneT�yDYn0dIS)JzoConstants/functions for interpreting results of os.stat() and os.lstat(). Suggested usage: from stat import * ���������� cCs|d@S)zMReturn the portion of the file's mode that can be set by os.chmod(). i����moder r �/usr/lib64/python3.9/stat.py�S_IMODEsrcCs|d@S)zLReturn the portion of the file's mode that describes the file type. i�r r r r r�S_IFMTsri@i i`i�ii�i�cCs t|�tkS)z(Return True if mode is from a directory.)r�S_IFDIRr r r r�S_ISDIR2srcCs t|�tkS)zsrcCs t|�tkS)z0Return True if mode is from a FIFO (named pipe).)r�S_IFIFOr r r r�S_ISFIFOBsrcCs t|�tkS)z,Return True if mode is from a symbolic link.)r�S_IFLNKr r r r�S_ISLNKFsrcCs t|�tkS)z%Return True if mode is from a socket.)r�S_IFSOCKr r r r�S_ISSOCKJsrcCsdS)z#Return True if mode is from a door.Fr r r r r�S_ISDOORNsrcCsdS)z*Return True if mode is from an event port.Fr r r r r�S_ISPORTRsr cCsdS)z'Return True if mode is from a whiteout.Fr r r r r�S_ISWHTVsr!iii���@i��8� �iiiii �l�s�-�b�d�c�p�r�w�S�x�t�TcCsJg}tD]6}|D]"\}}||@|kr|�|�qq|�d�qd�|�S)z;Convert a file's mode to a string of the form '-rwxrwxrwx'.r*�)�_filemode_table�append�join)r �perm�table�bit�charr r r�filemode�s    r=)�*N)U�__doc__�ST_MODE�ST_INO�ST_DEV�ST_NLINK�ST_UID�ST_GID�ST_SIZE�ST_ATIME�ST_MTIME�ST_CTIMErrrrrrrrr�S_IFDOOR�S_IFPORT�S_IFWHTrrrrrrrrr r!�S_ISUID�S_ISGID�S_ENFMT�S_ISVTX�S_IREAD�S_IWRITE�S_IEXEC�S_IRWXU�S_IRUSR�S_IWUSR�S_IXUSR�S_IRWXG�S_IRGRP�S_IWGRP�S_IXGRP�S_IRWXO�S_IROTH�S_IWOTH�S_IXOTH� UF_NODUMP� UF_IMMUTABLE� UF_APPEND� UF_OPAQUE� UF_NOUNLINK� UF_COMPRESSED� UF_HIDDEN� SF_ARCHIVED� SF_IMMUTABLE� SF_APPEND� SF_NOUNLINK� SF_SNAPSHOTr6r=�FILE_ATTRIBUTE_ARCHIVE�FILE_ATTRIBUTE_COMPRESSED�FILE_ATTRIBUTE_DEVICE�FILE_ATTRIBUTE_DIRECTORY�FILE_ATTRIBUTE_ENCRYPTED�FILE_ATTRIBUTE_HIDDEN�FILE_ATTRIBUTE_INTEGRITY_STREAM�FILE_ATTRIBUTE_NORMAL�"FILE_ATTRIBUTE_NOT_CONTENT_INDEXED�FILE_ATTRIBUTE_NO_SCRUB_DATA�FILE_ATTRIBUTE_OFFLINE�FILE_ATTRIBUTE_READONLY�FILE_ATTRIBUTE_REPARSE_POINT�FILE_ATTRIBUTE_SPARSE_FILE�FILE_ATTRIBUTE_SYSTEM�FILE_ATTRIBUTE_TEMPORARY�FILE_ATTRIBUTE_VIRTUAL�_stat� ImportErrorr r r r�s� � � � ��