Phials developer documentation
User guide
AI Notice: Most documentation right now was auto-generated by an LLM. Handwritten documentation will be implemented over time on the road to 1.0

FileUtilsAPI

File utilities API

Signature

interface FileUtilsAPI {
    getExtension(filename: string): string;
    getBasename(path: string): string;
    getDirname(path: string): string;
    joinPath(...parts: string[]): string;
}

Members

NameTypeRequiredDescription
getExtension(filename: string) => stringyes
getBasename(path: string) => stringyes
getDirname(path: string) => stringyes
joinPath(parts: string[]) => stringyes