Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
MR414N-ID
GitHub Repository: MR414N-ID/botku2
Path: blob/master/node_modules/@protobufjs/path/index.d.ts
1126 views
1
/**
2
* Tests if the specified path is absolute.
3
* @param {string} path Path to test
4
* @returns {boolean} `true` if path is absolute
5
*/
6
export function isAbsolute(path: string): boolean;
7
8
/**
9
* Normalizes the specified path.
10
* @param {string} path Path to normalize
11
* @returns {string} Normalized path
12
*/
13
export function normalize(path: string): string;
14
15
/**
16
* Resolves the specified include path against the specified origin path.
17
* @param {string} originPath Path to the origin file
18
* @param {string} includePath Include path relative to origin path
19
* @param {boolean} [alreadyNormalized=false] `true` if both paths are already known to be normalized
20
* @returns {string} Path to the include file
21
*/
22
export function resolve(originPath: string, includePath: string, alreadyNormalized?: boolean): string;
23
24