Uses of Class
io.github.coho04.githubapi.entities.repositories.GHBranch
Package
Description
-
Uses of GHBranch in io.github.coho04.githubapi.builders
Modifier and TypeMethodDescriptionGHFileBuilder.getBranch()
Returns the branch where this file will be committed.Modifier and TypeMethodDescriptionSets the branch to which the file will be committed.ModifierConstructorDescriptionGHFileBuilder
(GHRepository repository, GHBranch branch, Github github) Constructs a new GHFileBuilder object for a given repository and branch.GHFileBuilder
(GHRepository repository, GHBranch branch, String path, String content, String message, Github github) Constructs a new GHFileBuilder object with all properties set. -
Uses of GHBranch in io.github.coho04.githubapi.entities.repositories
Modifier and TypeMethodDescriptionGHRepository.getBranches()
Fetches the branches of this repository.Modifier and TypeMethodDescriptionStarts the process of adding a new file to the given branch of this repository.Starts the process of adding a new file with the given path, content, and commit message to the given branch of this repository.