Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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://deno.land/x/ultra@v2.1.6/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)