Phials plugin documentation
User guide
AI Disclosure: This page was generated by an LLM and may contain inaccuracies. Hand-crafted documentation will be implemented over time on the road to 1.0

GitAPI

Since Plugin API: 1.0.0

Signature

interface GitAPI {
    getInfo(path: string): Promise<GitInfo | null>;
    getLanguages(path: string): Promise<readonly RepositoryLanguage[]>;
}

Members

NameTypeRequiredDescription
getInfo(path: string) => Promise<GitInfo| null>yes-
getLanguages(path: string) => Promise<readonlyRepositoryLanguage[]>yes-