Skip to main content
Module

x/libpkgx/src/utils/Path.ts>default#parent

bringing the entire open source ecosystem to your node and deno apps
Very Popular
Go to Latest
method default.prototype.parent
import { default } from "https://deno.land/x/libpkgx@v0.16/src/utils/Path.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.