UNPKG

@wocker/ws

Version:

Docker workspace for web projects

15 lines (14 loc) 429 B
import { AxiosInstance } from "axios"; type RepositoryInfo = { default_branch: string; }; export declare class GithubClient { owner: string; repository: string; constructor(owner: string, repository: string); get axios(): AxiosInstance; getInfo(): Promise<RepositoryInfo>; getFile(branch: string, path: string): Promise<any>; download(branch: string, dirPath: string): Promise<void>; } export {};