link
This commit is contained in:
19
node_modules/firebase-functions/lib/common/utilities/path.d.ts
generated
vendored
Normal file
19
node_modules/firebase-functions/lib/common/utilities/path.d.ts
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
/** @hidden
|
||||
* Removes leading and trailing slashes from a path.
|
||||
*
|
||||
* @param path A path to normalize, in POSIX format.
|
||||
*/
|
||||
export declare function normalizePath(path: string): string;
|
||||
/**
|
||||
* Normalizes a given path and splits it into an array of segments.
|
||||
*
|
||||
* @param path A path to split, in POSIX format.
|
||||
*/
|
||||
export declare function pathParts(path: string): string[];
|
||||
/**
|
||||
* Normalizes given paths and joins these together using a POSIX separator.
|
||||
*
|
||||
* @param base A first path segment, in POSIX format.
|
||||
* @param child A second path segment, in POSIX format.
|
||||
*/
|
||||
export declare function joinPath(base: string, child: string): string;
|
||||
Reference in New Issue
Block a user