import * as ultra from "https://deno.land/x/ultra@v2.0.0-beta.17/lib/build/deps.ts";
Classes
A FileBag holds and manages implementations of IFile | |
Variables
🖍️ Crayon object that's used for styling
| |
v SEP |
Functions
Set text color to bright blue. | |
f copy | Copy a file or directory. The directory can have contents. Like |
Merges the two given Records, recursively merging any nested Records with the second collection overriding the first in case of conflict | |
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 | |
Ensures that the directory exists.
If the directory structure does not exist, it is created. Like mkdir -p.
Requires the | |
Convert a glob string to a regular expression. | |
Set text color to green. | |
Converts and format a variable number of | |
Make the text underline. | |
f wait | |
f walk | Walks the file tree rooted at root, yielding each file or directory in the tree filtered according to the given options. The files are walked in lexical order, which makes the output deterministic but means that for very large directories walk() can be inefficient. |