관리-도구
편집 파일: stat.cpython-311.opt-1.pyc
� c��fm � �8 � d Z dZdZdZdZdZdZdZdZd Z d Z d� Zd� Zd Z dZdZdZdZdZdZdZdZdZd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Zd� Z dZ!dZ"e"Z#d Z$d!Z%d"Z&d#Z'd$Z(d!Z)d"Z*d#Z+d%Z,d&Z-d'Z.d Z/dZ0dZ1dZ2dZ3dZ4dZ5dZ6d Z7d'Z8d&Z9dZ:d(Z;d)Z<d*Z=d+Z>d,Z?ed-fed.fed/fed0fe d1fed2fed3ffe)d4ffe*d5ffe+e!z d.fe!d6fe+d7ffe-d4ffe.d5ffe/e"z d.fe"d6fe/d7ffe1d4ffe2d5ffe3e$z d8fe$d9fe3d7fff Z@d:� ZAd&ZBdZCd#ZDd'ZEd ZFdZGdZHd"ZIdZJd)ZKdZLdZMdZNd ZOdZPd!ZQd(ZR dd;lST d<S # eT$ r Y d<S w xY w)=zoConstants/functions for interpreting results of os.stat() and os.lstat(). Suggested usage: from stat import * � � � � � � � � � � c � � | dz S )zMReturn the portion of the file's mode that can be set by os.chmod(). i� � ��modes �+/opt/alt/python311/lib64/python3.11/stat.py�S_IMODEr s � � �&�=�� c � � | dz S )zLReturn the portion of the file's mode that describes the file type. i � r r s r �S_IFMTr s � � �(�?�r i @ i i ` i � i i � i � c �2 � t | � � t k S )z(Return True if mode is from a directory.)r �S_IFDIRr s r �S_ISDIRr 2 � � ��$�<�<�7�"�"r c �2 � t | � � t k S )z<Return True if mode is from a character special device file.)r �S_IFCHRr s r �S_ISCHRr 6 r r c �2 � t | � � t k S )z8Return True if mode is from a block special device file.)r �S_IFBLKr s r �S_ISBLKr : r r c �2 � t | � � t k S )z+Return True if mode is from a regular file.)r �S_IFREGr s r �S_ISREGr! >