Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
function buildProjectFilesFromManifest
import { buildProjectFilesFromManifest } from "https://deno.land/x/netzo@v0.2.10/cli/src/utils/netzo.ts";

Build flat manifest (project.files) from nested manifest

USAGE: const projectFilesWithoutContents = await buildProjectFilesFromManifest(manifest)

Parameters

optional
manifest: Manifest = [UNSUPPORTED]

{Manifest} - a nested manifest with entries

Returns

Omit<Project["files"], "contents">
  • a flat manifest of file entries