struct

Fetcher::Software::SoftwareProvider

Inherits Struct < Value < Object

Constructors

new(name : String, base_url : String, repo : String, source_type : SourceType, api_url : String, atom_url : String, atom_fallback_urls : Array(String) = [] of String, body_field : String = "body")
Source

Instance methods

api_url
Source
atom_fallback_urls
Source
atom_url
Source
base_url
Source
body_field

JSON field name for the release body/description text. GitHub/Codeberg: "body", GitLab: "description"

Source
name
Source
repo
Source
repo_name

Extracts the repo name from the full path (e.g., "user/repo" -> "repo") Uses rindex instead of split for better performance (~3.7x faster)

Source
source_type
Source