Skip to main content
Module

x/enzastdlib/vendor/@deno-std-path.ts>ParsedPath

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
interface ParsedPath
import { type ParsedPath } from "https://deno.land/x/enzastdlib@v0.0.4/vendor/@deno-std-path.ts";

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

Properties

root: string

The root of the path such as '/' or 'c:'

dir: string

The full directory path such as '/home/user/dir' or 'c:\path\dir'

base: string

The file name including extension (if any) such as 'index.html'

ext: string

The file extension (if any) such as '.html'

name: string

The file name without extension (if any) such as 'index'