Skip to main content
Module

x/mesozoic/mod.ts>FileBag

A generic build system for Deno web apps
Go to Latest
class FileBag
extends Set<IFile>
import { FileBag } from "https://deno.land/x/mesozoic@v1.0.0-alpha.41/mod.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