Type alias ListBranchesParams

ListBranchesParams: {
    dir: string;
    fs: FsClient;
    gitdir?: string;
    remote?: string;
}

Type declaration

  • dir: string

    The working tree directory path.

  • fs: FsClient

    A file system client.

  • Optional gitdir?: string

    The git directory path (default: {dir}/.git).

  • Optional remote?: string

    Instead of the branches in refs/heads, list the branches in refs/remotes/${remote}.

Generated using TypeDoc