import * as actionify from "https://deno.land/x/actionify@0.3.0/config/deps.ts";
Helpers for working with the filesystem.
Variables
A strongly-typed version of | |
A strongly-typed version of | |
Functions
f copy | Copy a file or directory. The directory can have contents. Like |
Copy a file or directory. The directory can have contents. Like | |
Detect the EOL character for string input. returns null if no newline | |
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 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 | |
Ensures that the directory exists.
If the directory structure does not exist, it is created. Like mkdir -p.
Requires the | |
Ensures that the file exists.
If the file that is requested to be created is in directories that do not
exist.
these directories are created. If the file already exists,
it is NOTMODIFIED.
Requires the | |
Ensures that the file exists.
If the file that is requested to be created is in directories that do not
exist,
these directories are created. If the file already exists,
it is NOT MODIFIED.
Requires the | |
Ensures that the hard link exists. If the directory structure does not exist, it is created. | |
Ensures that the hard link exists. If the directory structure does not exist, it is created. | |
Ensures that the link exists. If the directory structure does not exist, it is created. | |
Ensures that the link exists. If the directory structure does not exist, it is created. | |
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 | |
Synchronous version of | |
Format the file to the targeted EOL | |
Get a logger instance. If not specified | |
This produces an async iterable for searching through the provided patterns
relative to the | |
f html | Parses the given tokens into HTML. |
f move | Moves a file or directory |
Moves a file or directory synchronously | |
Take a set of command line arguments, optionally with a set of options, and return an object representing the flags found in the passed arguments. | |
Read strings line-by-line from a Reader. | |
Coerces a string to semver if possible | |
Return true if version is greater than all the versions possible in the range. | |
Return the version incremented by the release type (major, minor, patch, or prerelease), or null if it's not valid. | |
Return true if any of the ranges comparators intersect | |
Return true if version is less than all the versions possible in the range. | |
Return the major version number. | |
Return the minor version number. | |
Return true if the version is outside the bounds of the range in either the high or low direction. The hilo argument must be either the string '>' or '<'. (This is the function called by gtr and ltr.) | |
Return the patch version number. | |
Parses the given Markdown text into a list of tokens. | |
f udd | |
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. |
Same as walk() but uses synchronous ops |
Type Aliases
Markdown tokens that are generated during traversal of the document. check https://docs.rs/pulldown-cmark/0.8.0/pulldown_cmark/enum.Event.html for more detailed information. |