Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/mesozoic/lib/source.ts>Source

A generic build system for Deno web apps
Go to Latest
class Source
implements ISource
Abstract
import { Source } from "https://deno.land/x/mesozoic@v1.0.0-alpha.7/lib/source.ts";

Constructors

new
Source(filePath: string, rootPath: string)

Properties

private
optional
aliasPath: string
private
locked: boolean

Methods

contentHash(length?)
copyTo(_to: string, _filePath?: string | undefined): Promise<ISource>
copyToHashed(to: string): Promise<ISource>
remove(): Promise<boolean>
setAlias(alias: string): void
url()
write(content: string | Uint8Array)