Learn R Programming

ghclass (version 0.1.0)

repo_put_file: Low level function for adding a file to a Github repository

Description

Low level function for adding a file to a Github repository

Usage

repo_put_file(
  repo,
  path,
  content,
  message = NULL,
  branch = "master",
  verbose = TRUE
)

Arguments

repo

Character. Address of repository in owner/name format.

path

Character. File path within the repository.

content

Character or raw. Content of the file.

message

Character. Commit message. If not provided, a custom character string will be created.

branch

Character. Name of branch to use, defaults to "master".

verbose

Logical. Should success / failure messages be printed