Changeset View
Changeset View
Standalone View
Standalone View
swh/vault/cookers/__init__.py
# Copyright (C) 2017-2021 The Software Heritage developers | # Copyright (C) 2017-2021 The Software Heritage developers | ||||
# See the AUTHORS file at the top-level directory of this distribution | # See the AUTHORS file at the top-level directory of this distribution | ||||
# License: GNU General Public License version 3, or any later version | # License: GNU General Public License version 3, or any later version | ||||
# See top-level LICENSE file for more information | # See top-level LICENSE file for more information | ||||
from __future__ import annotations | from __future__ import annotations | ||||
import os | import os | ||||
from typing import Any, Dict, List, Type | from typing import Any, Dict, List, Type | ||||
from swh.core.config import load_named_config | from swh.core.config import load_named_config | ||||
from swh.core.config import read as read_config | from swh.core.config import read as read_config | ||||
from swh.model.identifiers import CoreSWHID, ObjectType | from swh.model.swhids import CoreSWHID, ObjectType | ||||
from swh.storage import get_storage | from swh.storage import get_storage | ||||
from swh.vault import get_vault | from swh.vault import get_vault | ||||
from swh.vault.cookers.base import DEFAULT_CONFIG, DEFAULT_CONFIG_PATH, BaseVaultCooker | from swh.vault.cookers.base import DEFAULT_CONFIG, DEFAULT_CONFIG_PATH, BaseVaultCooker | ||||
from swh.vault.cookers.directory import DirectoryCooker | from swh.vault.cookers.directory import DirectoryCooker | ||||
from swh.vault.cookers.git_bare import GitBareCooker | from swh.vault.cookers.git_bare import GitBareCooker | ||||
from swh.vault.cookers.revision_flat import RevisionFlatCooker | from swh.vault.cookers.revision_flat import RevisionFlatCooker | ||||
from swh.vault.cookers.revision_gitfast import RevisionGitfastCooker | from swh.vault.cookers.revision_gitfast import RevisionGitfastCooker | ||||
▲ Show 20 Lines • Show All 110 Lines • Show Last 20 Lines |