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

x/deno/cli/js/copy_file.ts

A modern runtime for JavaScript and TypeScript.
Go to Latest
import * as deno from "https://deno.land/x/deno@v0.28.0/cli/js/copy_file.ts";

Functions

Copies the contents of a file to another by name.

Copies the contents of a file to another by name synchronously. Creates a new file if target does not exists, and if target exists, overwrites original content of the target file.