Builder

class Builder

Properties

Link copied to clipboard

The name of the branch where you want to add or update the file. If this is an empty repository, this branch is created.

Link copied to clipboard

A message about why this file was added or updated. Although it is optional, a message makes the commit history for your repository more useful.

Link copied to clipboard

An email address for the person adding or updating the file.

Link copied to clipboard

The content of the file, in binary object format.

Link copied to clipboard

The file mode permissions of the blob. Valid file mode permissions are listed here.

Link copied to clipboard

The name of the file you want to add or update, including the relative path to the file in the repository.

Link copied to clipboard
var name: String?

The name of the person adding or updating the file. Although it is optional, a name makes the commit history for your repository more useful.

Link copied to clipboard

The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository, no commit ID is required. If this is not an empty repository, a commit ID is required.

Link copied to clipboard

The name of the repository where you want to add or update the file.