HfHub.Git.BranchInfo (HfHub v0.2.0)

Copy Markdown View Source

Information about a Git branch in a HuggingFace repository.

Summary

Functions

Creates a BranchInfo struct from an API response.

Types

t()

@type t() :: %HfHub.Git.BranchInfo{
  name: String.t(),
  ref: String.t() | nil,
  target_commit: String.t() | nil
}

Functions

from_response(response)

@spec from_response(map()) :: t()

Creates a BranchInfo struct from an API response.