Changeset View
Changeset View
Standalone View
Standalone View
swh/vault/in_memory_backend.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 typing import Any, Dict, List, Optional, Tuple | from typing import Any, Dict, List, Optional, Tuple | ||||
from swh.model.identifiers import CoreSWHID | from swh.model.swhids import CoreSWHID | ||||
from .cache import VaultCache | from .cache import VaultCache | ||||
class InMemoryVaultBackend: | class InMemoryVaultBackend: | ||||
"""Stub vault backend, for use in the CLI.""" | """Stub vault backend, for use in the CLI.""" | ||||
def __init__(self): | def __init__(self): | ||||
Show All 35 Lines |