qiniu-path
Version:
A Typescript Library for Qiniu Path
19 lines • 661 B
TypeScript
export declare class Path {
private readonly sep;
private readonly root;
private readonly base;
private readonly ext;
private readonly dirSegments;
private readonly isDir;
constructor(sep: string, root: string, base: string | undefined, ext: string | undefined, dirSegments: Array<string>, isDir: boolean);
basename(): string | undefined;
extname(): string | undefined;
directoryBasename(): string | undefined;
private directory;
toString(): string;
parentDirectoryPath(): Path;
joinFile(pathStr: string): Path;
joinFolder(pathStr: string): Path;
private join;
}
//# sourceMappingURL=path.d.ts.map