Dashboard
PHP:
8.1.34
OS:
Linux
User:
uid288609
/
/
usr
/
lib
/
python3
/
dist-packages
/
apt
/
__pycache__
📤 Upload
📝 New File
📁 New Folder
Close
Editing: package.cpython-39.pyc
a �?i � � @ s� d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddl mZ ddlm Z ddlmZ ddlmZmZmZmZmZmZmZmZmZmZmZ ddlZddlZddlm Z m!Z! dd lm"Z# d Z$dd� Z%G d d� de&�Z'G dd� de'�Z(G dd� de)�Z*G dd� dee* �Z+G dd� de)�Z,G dd� deeef �Z-G dd� de)�Z.G dd� dee. �Z/G dd� de)�Z0edd � �Z1e2d!k�r�e1� dS )"z"Functionality related to packages.� )�print_functionN)� BadStatusLine)� HTTPError)�urlopen)�Any�Iterable�Iterator�List�Optional�Set�Tuple�Union� no_type_check�Mapping�Sequence)�AcquireProgress�InstallProgress)�gettext)�BaseDependency� Dependency�Origin�Package�Record�Version�VersionListc C sX t j�| �rTt j�| �|krTt| �� }t�|�j|kW d � S 1 sJ0 Y dS )z(Return ``True`` if the file is the same.NF)�os�path�exists�getsize�open�apt_pkgZHashes�hashes)r �sizer! Zfobj� r# �-/usr/lib/python3/dist-packages/apt/package.py� _file_is_same6 s .r% c @ s e Zd ZdZdS )� FetchErrorz(Raised when a file could not be fetched.N��__name__� __module__�__qualname__�__doc__r# r# r# r$ r&