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.3.0/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>
matches(patterns: PatternLike)
merge(other: FileBag)

Merge this FileBag with another

remappedPaths(): Map<string, string>

Static Methods

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