Aura.Model.HexRepo (Aura v1.0.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]
}
Resources
- Hex
- Contact the maintainer (he's happy to help!)
See Also
Summary
Types
Whether the repository is active
Whether the repository is public
Type describing a repository from a Hex-compliant API.
Types
@type active() :: boolean()
Whether the repository is active
@type public() :: boolean()
Whether the repository is public
@type t() :: %Aura.Model.HexRepo{ active: active(), billing_active: Aura.Model.Common.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.
Keys
- active ::
Aura.Model.HexRepo.active/0
- public ::
Aura.Model.HexRepo.public/0
- inserted_at ::
Aura.Model.Common.inserted_at/0
- updated_at ::
Aura.Model.Common.updated_at/0
- billing_active ::
Aura.Model.Common.billing_active/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
Parameters
Parameter | Description |
---|---|
m | A map to build into a Aura.Model.HexRepo.t/0 |