struct

Hwaro::Services::Scaffolds::Remote::Source

Inherits Struct < Value < Object

A parsed remote source. branch is nil unless the URL named one (/tree/<branch>/…); the repository's default branch is used then.

Constructors

new(owner : String, repo : String, subpath : String, branch : String | Nil = nil)
Source

Instance methods

branch
clone
Source
copy_with(owner _owner = @owner, repo _repo = @repo, subpath _subpath = @subpath, branch _branch = @branch)
Source
label
Source
owner
repo
subpath