Changeset View
Changeset View
Standalone View
Standalone View
swh/loader/package/debian/loader.py
Show First 20 Lines • Show All 120 Lines • ▼ Show 20 Lines | class DebianLoader(PackageLoader[DebianPackageInfo]): | ||||
""" | """ | ||||
visit_type = "deb" | visit_type = "deb" | ||||
def __init__( | def __init__( | ||||
self, | self, | ||||
storage: StorageInterface, | storage: StorageInterface, | ||||
url: str, | url: str, | ||||
date: str, | |||||
packages: Mapping[str, Any], | packages: Mapping[str, Any], | ||||
max_content_size: Optional[int] = None, | max_content_size: Optional[int] = None, | ||||
): | ): | ||||
"""Debian Loader implementation. | """Debian Loader implementation. | ||||
Args: | Args: | ||||
url: Origin url (e.g. deb://Debian/packages/cicero) | url: Origin url (e.g. deb://Debian/packages/cicero) | ||||
date: Ignored | date: Ignored | ||||
▲ Show 20 Lines • Show All 327 Lines • Show Last 20 Lines |