Module

x/ultra/lib/build/deps.ts>FileBag

🧙 Zero-Legacy Deno/React Suspense SSR Framework
Go to Latest
class FileBag
extends Set<IFile>
import { FileBag } from "https://dotland.deno.dev/x/ultra@v2.0.1/lib/build/deps.ts";

A FileBag holds and manages implementations of IFile

Methods

copyTo(destination: string)
filter(predicate: (file: IFile) => boolean)
find(predicate: (file: IFile) => boolean)
get(path: string): Promise<IFile>
merge(other: FileBag)

Merge this FileBag with another

remappedPaths(): Map<string, string>

Static Methods

from(path: string)
fromModules(modules: Module[], path: string)