Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dex/lib/deps/path/mod.ts

Dex: An SQL query builder port of Knex for Deno
Latest
import * as dex from "https://deno.land/x/dex@1.0.2/lib/deps/path/mod.ts";

Functions

Determines the common path from a set of paths, using an optional separator, which defaults to the OS default separator.

Generate a regex based on glob pattern and options This was meant to be using the the fs.walk function but can be used anywhere else. Examples:

Test whether the given string is a glob

Like join(), but doesn't collapse "**/.." when globstar is true.

Like normalize(), but doesn't collapse "**/.." when globstar is true.

Interfaces

A parsed path object generated by path.parse() or consumed by path.format().