Contents
WebService::GitHub::Repos::Contents
Create or update file contents
WebService::GitHub::Repos::Contents.create-or-update-file-contents( Str $owner
, Str $repo
, Str $path
, Str :$message!
, Associative :$author
, Str :$branch
, Str :$content!
, Associative :$committer
, Str :$sha
)
Delete a file
WebService::GitHub::Repos::Contents.delete-file( Str $owner
, Str $repo
, Str $path
, Associative :$committer
, Str :$message!
, Str :$branch
, Associative :$author
, Str :$sha!
)
Download a repository archive (tar)
WebService::GitHub::Repos::Contents.download-tarball-archive( Str $owner
, Str $repo
, Str $ref
)
Download a repository archive (zip)
WebService::GitHub::Repos::Contents.download-zipball-archive( Str $owner
, Str $repo
, Str $ref
)
Get repository content
WebService::GitHub::Repos::Contents.get-content( Str $owner
, Str $repo
, Str $path
, Str :$ref
)
Get a repository README
See repos/get-readme
WebService::GitHub::Repos::Contents.get-readme( Str $owner
, Str $repo
, Str :$ref
)
Get a repository README
WebService::GitHub::Repos::Contents.get-readme-from-alt-path( Str $owner
, Str $repo
, Str $dir
, Str :$ref
)