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-beta.1/mod.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)