HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/apport/__pycache__/user_group.cpython-310.pyc
o

j�8dc�@s<dZddlZddlZe��Gdd�d��Zdefdd�ZdS)z"Functions around users and groups.�Nc@s0eZdZUdZeed<eed<defdd�ZdS)�UserGroupIDzPair of user and group ID.�uid�gid�returncCs|jdkp	|jdkS)z&Check if the user or group ID is root.r)rr)�self�r�3/usr/lib/python3/dist-packages/apport/user_group.py�is_rootszUserGroupID.is_rootN)�__name__�
__module__�__qualname__�__doc__�int�__annotations__�boolr	rrrrrs

rrcCstt��t���S)u3Return the current process’s real user and group.)r�os�getuid�getgidrrrr�get_process_user_and_groupsr)r
�dataclassesr�	dataclassrrrrrr�<module>s