HfHub.Git.TagInfo (HfHub v0.2.0)

Copy Markdown View Source

Information about a Git tag in a HuggingFace repository.

Summary

Functions

Creates a TagInfo struct from an API response.

Types

t()

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

Functions

from_response(response)

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

Creates a TagInfo struct from an API response.