Module

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

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

A FileBag holds and manages implementations of IFile

Methods

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

Merge this FileBag with another

Static Methods

private
create(items: IFile[]): FileBag