void |
TreeApi.assignReference(Reference.ReferenceType referenceType,
@Valid @NotNull @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") String referenceName,
@Valid @NotNull @Pattern(regexp="^[0-9a-fA-F]{8,64}$",message="Hash must consist of the hex representation of 4-32 bytes") String oldHash,
@Valid @NotNull Reference assignTo) |
Update a reference's HEAD to point to a different commit.
|
Branch |
TreeApi.commitMultipleOperations(@Valid @NotNull @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") String branchName,
@Valid @NotNull @Pattern(regexp="^[0-9a-fA-F]{8,64}$",message="Hash must consist of the hex representation of 4-32 bytes") String hash,
@Valid @NotNull Operations operations) |
Commit multiple operations against the given branch expecting that branch to have the given
hash as its latest commit.
|
Reference |
TreeApi.createReference(@Valid @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") String sourceRefName,
@Valid @NotNull Reference reference) |
Create a new reference.
|
void |
TreeApi.deleteReference(Reference.ReferenceType referenceType,
@Valid @NotNull @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") String referenceName,
@Valid @NotNull @Pattern(regexp="^[0-9a-fA-F]{8,64}$",message="Hash must consist of the hex representation of 4-32 bytes") String hash) |
Delete a named reference.
|
LogResponse |
TreeApi.getCommitLog(@Valid @NotNull @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") String ref,
@Valid @NotNull CommitLogParams params) |
Retrieve the commit log for a ref, potentially truncated by the backend.
|
Content |
ContentApi.getContent(@Valid ContentKey key,
@Valid @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") String ref,
@Valid @Pattern(regexp="^[0-9a-fA-F]{8,64}$",message="Hash must consist of the hex representation of 4-32 bytes") String hashOnRef) |
|
Branch |
TreeApi.getDefaultBranch() |
Get details for the default reference.
|
DiffResponse |
DiffApi.getDiff(@Valid @NotNull DiffParams params) |
Returns a list of diff values that show the difference between two given references.
|
EntriesResponse |
TreeApi.getEntries(@Valid @NotNull @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") String refName,
@Valid @NotNull EntriesParams params) |
Retrieve objects for a ref, potentially truncated by the backend.
|
GetMultipleContentsResponse |
ContentApi.getMultipleContents(@Valid @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") String ref,
@Valid @Pattern(regexp="^[0-9a-fA-F]{8,64}$",message="Hash must consist of the hex representation of 4-32 bytes") String hashOnRef,
@Valid @NotNull GetMultipleContentsRequest request) |
|
Reference |
TreeApi.getReferenceByName(@Valid @NotNull GetReferenceParams params) |
Get details of a particular ref, if it exists.
|
RefLogResponse |
RefLogApi.getRefLog(@Valid @NotNull RefLogParams params) |
Retrieve the reflog, potentially truncated by the backend.
|
void |
TreeApi.mergeRefIntoBranch(@Valid @NotNull @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") String branchName,
@Valid @NotNull @Pattern(regexp="^[0-9a-fA-F]{8,64}$",message="Hash must consist of the hex representation of 4-32 bytes") String hash,
@Valid @NotNull Merge merge) |
merge mergeRef onto ref.
|
void |
TreeApi.transplantCommitsIntoBranch(@Valid @NotNull @Pattern(regexp="^[A-Za-z](((?![.][.])[A-Za-z0-9./_-])*[A-Za-z0-9_-])?$",message="Reference name must start with a letter, followed by letters, digits, one of the ./_- characters, not end with a slash or dot, not contain \'..\'") String branchName,
@Valid @NotNull @Pattern(regexp="^[0-9a-fA-F]{8,64}$",message="Hash must consist of the hex representation of 4-32 bytes") String hash,
@Valid String message,
@Valid Transplant transplant) |
cherry pick a set of commits into a branch.
|