struct Repo::Metadata

Included Modules

Defined in:

fetchers/github_api.cr
repo.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(forks_count : Int32 | Nil = nil, stargazers_count : Int32 | Nil = nil, watchers_count : Int32 | Nil = nil, created_at : Time | Nil = nil, description : String | Nil = nil, issues_enabled : Bool | Nil = nil, wiki_enabled : Bool | Nil = nil, homepage_url : String | Nil = nil, archived : Bool | Nil = nil, fork : Bool | Nil = nil, mirror : Bool | Nil = nil, license : String | Nil = nil, primary_language : String | Nil = nil, pushed_at : Time | Nil = nil, closed_issues_count : Int32 | Nil = nil, open_issues_count : Int32 | Nil = nil, closed_pull_requests_count : Int32 | Nil = nil, open_pull_requests_count : Int32 | Nil = nil, merged_pull_requests_count : Int32 | Nil = nil, topics : Array(String) | Nil = nil) #

[View source]
def self.new(github_pull pull : JSON::PullParser) #

[View source]

Instance Method Detail

def archived : Bool | Nil #

def clone #

[View source]
def closed_issues_count : Int32 | Nil #

def closed_pull_requests_count : Int32 | Nil #

def copy_with(forks_count _forks_count = @forks_count, stargazers_count _stargazers_count = @stargazers_count, watchers_count _watchers_count = @watchers_count, created_at _created_at = @created_at, description _description = @description, issues_enabled _issues_enabled = @issues_enabled, wiki_enabled _wiki_enabled = @wiki_enabled, homepage_url _homepage_url = @homepage_url, archived _archived = @archived, fork _fork = @fork, mirror _mirror = @mirror, license _license = @license, primary_language _primary_language = @primary_language, pushed_at _pushed_at = @pushed_at, closed_issues_count _closed_issues_count = @closed_issues_count, open_issues_count _open_issues_count = @open_issues_count, closed_pull_requests_count _closed_pull_requests_count = @closed_pull_requests_count, open_pull_requests_count _open_pull_requests_count = @open_pull_requests_count, merged_pull_requests_count _merged_pull_requests_count = @merged_pull_requests_count, topics _topics = @topics) #

[View source]
def created_at : Time | Nil #

def description : String | Nil #

def fork : Bool | Nil #

def forks_count : Int32 | Nil #

def homepage_url : String | Nil #

def issues_enabled : Bool | Nil #

def license : String | Nil #

def merged_pull_requests_count : Int32 | Nil #

def mirror : Bool | Nil #

def open_issues_count : Int32 | Nil #

def open_pull_requests_count : Int32 | Nil #

def primary_language : String | Nil #

def pushed_at : Time | Nil #

def stargazers_count : Int32 | Nil #

def topics : Array(String) | Nil #

def watchers_count : Int32 | Nil #

def wiki_enabled : Bool | Nil #