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

x/easy_std/src/path.ts>createUpBases

Generic Deno standard library, focused on ease of use | 通用 Deno 标准库,专注于易用性
Go to Latest
function createUpBases
import { createUpBases } from "https://deno.land/x/easy_std@v0.7.0/src/path.ts";

find all paths up

Examples

Example 1

import { createUpBases } from "https://deno.land/x/easy_std@version/src/path.ts";

createUpBases("D:/foo/bar") // ["D:", "D:/foo", "D:/foo/bar"]

Parameters

optional
root: string = [UNSUPPORTED]