Changeset View
Changeset View
Standalone View
Standalone View
swh/graphql/resolvers/directory.py
# Copyright (C) 2022 The Software Heritage developers | |||||
# See the AUTHORS file at the top-level directory of this distribution | |||||
# License: GNU General Public License version 3, or any later version | |||||
# See top-level LICENSE file for more information | |||||
from swh.graphql.backends import archive | from swh.graphql.backends import archive | ||||
from swh.model.model import Directory | from swh.model.model import Directory | ||||
from .base_node import BaseSWHNode | from .base_node import BaseSWHNode | ||||
class BaseDirectoryNode(BaseSWHNode): | class BaseDirectoryNode(BaseSWHNode): | ||||
def _get_directory_by_id(self, directory_id): | def _get_directory_by_id(self, directory_id): | ||||
▲ Show 20 Lines • Show All 42 Lines • Show Last 20 Lines |