View file File name : stat.cpython-38.pyc Content :U �;rcm � @ sL d Z dZdZdZdZdZdZdZdZd Z d Z dd� Zd d� ZdZ 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;d5Z<d6Z=d7Z>d8Z?ed9fed:fed;fed<fe d=fed>fed?ffe)d@ffe*dAffe+e!B d:fe!dBfe+dCffe-d@ffe.dAffe/e"B d:fe"dBfe/dCffe1d@ffe2dAffe3e$B dDfe$dEfe3dCfff Z@dFdG� ZAd2ZBd*ZCd/ZDd3ZEdZFdZGdZHd.ZIdZJd5ZKdZLdZMd+ZNd,ZOdZPd-ZQd4ZRzddHlST W n eTk �rF Y nX dIS )JzoConstants/functions for interpreting results of os.stat() and os.lstat(). Suggested usage: from stat import * � � � � � � � � � � c C s | d@ S )zMReturn the portion of the file's mode that can be set by os.chmod(). i� � ��moder r �/usr/lib/python3.8/stat.py�S_IMODE s r c C s | d@ S )zLReturn the portion of the file's mode that describes the file type. i � r r r r r �S_IFMT s r i @ i i ` i � i i � i � c C s t | �tkS )z(Return True if mode is from a directory.)r �S_IFDIRr r r r �S_ISDIR2 s r c C s t | �tkS )z<Return True if mode is from a character special device file.)r �S_IFCHRr r r r �S_ISCHR6 s r c C s t | �tkS )z8Return True if mode is from a block special device file.)r �S_IFBLKr r r r �S_ISBLK: s r c C s t | �tkS )z+Return True if mode is from a regular file.)r �S_IFREGr r r r �S_ISREG>