Aura.Model.HexRepo (Aura v0.9.1)
View SourceA struct describing a repository from a Hex-compliant API.
The main Hex.pm public repo is named "hexpm"
; though private repos do exist.
💻 Examples
%Aura.Model.HexRepo{
name: "hexpm",
public: nil,
active: nil,
billing_active: nil,
inserted_at: ~U[2025-05-29 18:15:18.185511Z],
updated_at: ~U[2025-05-29 18:15:18.185511Z]
}
👀 See Also
📖 Resources
- 💬 Contact the maintainer (he's happy to help!)
Summary
Types
Whether the repository is active
Whether the repository is a billable entity
Whether the repository is public
Type describing a repository from a Hex-compliant API.
Types
@type active?() :: boolean()
Whether the repository is active
@type billing_active?() :: boolean()
Whether the repository is a billable entity
@type public?() :: boolean()
Whether the repository is public
@type t() :: %Aura.Model.HexRepo{ active: active?(), billing_active: billing_active?(), inserted_at: Aura.Model.Common.inserted_at(), name: Aura.Common.repo_name(), public: public?(), updated_at: Aura.Model.Common.updated_at() }
Type describing a repository from a Hex-compliant API.
🏷️ Required Keys
- name ::
Aura.Common.repo_name/0
🏷️ Optional Keys
- public ::
public?/0
- active ::
active?/0
- billing_active ::
billing_active?/0
- inserted_at ::
Aura.Model.Common.inserted_at/0
- updated_at ::
Aura.Model.Common.updated_at/0
💻 Examples
%Aura.Model.HexRepo{
name: "hexpm",
public: nil,
active: nil,
billing_active: nil,
inserted_at: ~U[2025-05-29 18:15:18.185511Z],
updated_at: ~U[2025-05-29 18:15:18.185511Z]
}
Functions
Builds a HexRepo
from a map
🏷️ Params
- m :: A map to build into a
Aura.Model.HexRepo.t/0