@markg85/webdav-server
Version:
15 lines (14 loc) • 366 B
TypeScript
export declare class FSPath {
paths: string[];
constructor(path: FSPath | string[] | string);
isRoot(): boolean;
fileName(): string;
rootName(): string;
parentName(): string;
getParent(): FSPath;
hasParent(): boolean;
removeRoot(): void;
getChildPath(childName: string): FSPath;
clone(): FSPath;
toString(): string;
}