Skip to main content
Module

x/deno2node/src/deps.deno.ts>SourceFile#moveImmediately

Compile your Deno project to run on Node.js.
Go to Latest
method SourceFile.prototype.moveImmediately
import { SourceFile } from "https://deno.land/x/deno2node@v1.11.0/src/deps.deno.ts";

Moves this source file to a new file and asynchronously updates the file system immediately.

This will modify the module specifiers in other files that specify this file and the module specifiers in the current file, if necessary.

Parameters

filePath: string
  • New file path. Can be relative to the original file or an absolute path.
optional
options: SourceFileMoveOptions
  • Options for moving.