2025-10-01 19:55:38 +02:00

15 lines
380 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;
}