GitHubRepo

GitHub

GitHub represents a github repo name like nodejs/node.

GitURL

method GitURL( āŸ¶ GitURL)

Long form of .url

clone

method clone(Str :$to āŸ¶ File)

Clones the GitHub.

GitHub<spitsh/spitsh>.clone.cd;
say ${ $*git status };
ParameterDescription
:$toPath to clone the repo to

name

method name( āŸ¶ Str)

Returns the name part of the GitHub.

 say GitHub<nodejs/node>.name #-> node

owner

method owner( āŸ¶ Str)

Returns the owner part of the GitHub.

 say GitHub<nodejs/node>.owner #-> nodejs

url

method url( āŸ¶ GitURL)

Returns the https url for the repo

 GitHub<nodejs/node>.url #-> https://github.com/nodejs/node.git

The Camelia image is copyright 2009 by Larry Wall. "Raku" is trademark of the Yet Another Society. All rights reserved.