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

x/mesozoic/lib/sourceFile.ts>SourceFile#copyTo

A generic build system for Deno web apps
Go to Latest
method SourceFile.prototype.copyTo
import { SourceFile } from "https://deno.land/x/mesozoic@v1.0.0-alpha.13/lib/sourceFile.ts";

Parameters

to: string

The absolute path to copy the file to.

optional
filepath = [UNSUPPORTED]

Returns

Promise<SourceFile>

An unlocked source file of the copied file.