Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
quarto-dev
GitHub Repository: quarto-dev/quarto-cli
Path: blob/main/src/deno_ral/path.ts
6449 views
1
/*
2
* path.ts
3
*
4
* Copyright (C) 2020-2024 Posit Software, PBC
5
*/
6
7
import * as path from "path";
8
import { normalize as posixNormalize } from "path/posix";
9
10
export const SEP = path.SEPARATOR;
11
export const SEP_PATTERN = path.SEPARATOR_PATTERN;
12
export const basename = path.basename;
13
export const extname = path.extname;
14
export const dirname = path.dirname;
15
export const fromFileUrl = path.fromFileUrl;
16
export const globToRegExp = path.globToRegExp;
17
export const isAbsolute = path.isAbsolute;
18
export const join = path.join;
19
export const relative = path.relative;
20
export const resolve = path.resolve;
21
export const normalize = path.normalize;
22
export const toFileUrl = path.toFileUrl;
23
export const isGlob = path.isGlob;
24
25
export const posix = { normalize: posixNormalize };
26
27