Skip to main content
Module

x/libpkgx/mod.ts>Path#parent

`import`… but with pkging powers
Very Popular
Latest
method Path.prototype.parent
Re-export
import { Path } from "https://deno.land/x/libpkgx@v0.19/mod.ts";

Returns the parent directory for this path. Path is not aware of the nature of the underlying file, but this is irrlevant since the operation is the same irrespective of this fact. - Note: always returns a valid path, Path.root.parentis* Path.root.