1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 import { CollectionService } from "../collection-service/collection-service";
6 import { parseKeepManifestText } from "./collection-manifest-parser";
7 import { mapManifestToCollectionFilesTree } from "./collection-manifest-mapper";
9 export class CollectionFilesService {
11 constructor(private collectionService: CollectionService) { }
13 getFiles(collectionUuid: string) {
14 return this.collectionService
17 mapManifestToCollectionFilesTree(
18 parseKeepManifestText(
19 collection.manifestText