Type alias FetchResult

FetchResult: {
    defaultBranch: string | null;
    fetchHead: string | null;
    fetchHeadDescription: string | null;
    headers?: HttpHeaders;
    packfile?: string;
    pruned?: string[];
}

Fetch result object.

Type declaration

  • defaultBranch: string | null

    The branch that is cloned if no branch is specified.

  • fetchHead: string | null

    The SHA-1 object id of the fetched head commit.

  • fetchHeadDescription: string | null

    A textual description of the branch that was fetched.

  • Optional headers?: HttpHeaders

    The HTTP response headers returned by the git server.

  • Optional packfile?: string
  • Optional pruned?: string[]

    A list of branches that were pruned, if you provided the prune parameter.

Generated using TypeDoc