Skip to main content
Module

x/typeorm/src/util/fs.ts

Forked from https://github.com/typeorm/typeorm
Latest
import * as typeorm from "https://deno.land/x/typeorm@v0.2.23-rc10/src/util/fs.ts";

Functions

Ensures that a directory is empty. Deletes directory contents if the directory is not empty. If the directory does not exist, it is created. The directory itself is not deleted. Requires the --allow-read and --allow-write flag.

Ensures that the directory exists. If the directory structure does not exist, it is created. Like mkdir -p. Requires the --allow-read and --allow-write flag.

Test whether or not the given path exists by checking with the file system

Test whether or not the given path exists by checking with the file system

Expand the glob string from the specified root directory and yield each result as a WalkEntry object.