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

x/actionify/config/deps.ts

Create and manage your GitHub workflows with TypeScript and Deno.
Latest
import * as actionify from "https://deno.land/x/actionify@0.3.0/config/deps.ts";

Helpers for working with the filesystem.

Enums

EndOfLine character enum

Variables

A strongly-typed version of Object.entries().

A strongly-typed version of Object.keys().

Functions

Copy a file or directory. The directory can have contents. Like cp -r. Requires the --allow-read and --allow-write flag.

Copy a file or directory. The directory can have contents. Like cp -r. Requires the --allow-read and --allow-write flag.

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 --allow-read and --allow-write flag.

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.

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.

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 --allow-read and --allow-write flag.

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 --allow-read and --allow-write flag.

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.

f
exists
deprecated

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

f
existsSync
deprecated

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.

Synchronous version of expandGlob().

Format the file to the targeted EOL

Get a logger instance. If not specified name, get the default logger.

This produces an async iterable for searching through the provided patterns relative to the cwd. If cwd is left blank then it defaults to Deno.cwd().

Parses the given tokens into HTML.

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.

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.