| Package | Description |
|---|---|
| com.huaweicloud.sdk.codehub.v3 | |
| com.huaweicloud.sdk.codehub.v3.model |
| Modifier and Type | Field and Description |
|---|---|
static HttpRequestDef<CreateCommitRequest,CreateCommitResponse> |
CodeHubMeta.createCommit |
| Modifier and Type | Method and Description |
|---|---|
CreateCommitResponse |
CodeHubClient.createCommit(CreateCommitRequest request)
创建提交
能够一次提交位于不同目录的多个文件,目录不存在时,能自动创建目录。支持强制覆盖选项,当选择强制覆盖标志为true时,忽略冲突,强制提交。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<CreateCommitResponse> |
CodeHubAsyncClient.createCommitAsync(CreateCommitRequest request)
创建提交
能够一次提交位于不同目录的多个文件,目录不存在时,能自动创建目录。支持强制覆盖选项,当选择强制覆盖标志为true时,忽略冲突,强制提交。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<CreateCommitRequest,CreateCommitResponse> |
CodeHubAsyncClient.createCommitAsyncInvoker(CreateCommitRequest request)
创建提交
能够一次提交位于不同目录的多个文件,目录不存在时,能自动创建目录。支持强制覆盖选项,当选择强制覆盖标志为true时,忽略冲突,强制提交。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
SyncInvoker<CreateCommitRequest,CreateCommitResponse> |
CodeHubClient.createCommitInvoker(CreateCommitRequest request)
创建提交
能够一次提交位于不同目录的多个文件,目录不存在时,能自动创建目录。支持强制覆盖选项,当选择强制覆盖标志为true时,忽略冲突,强制提交。
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
CreateCommitResponse |
CreateCommitResponse.addResultItem(CreateCommitResponseBody resultItem) |
CreateCommitResponse |
CreateCommitResponse.withError(java.util.function.Consumer<Error> errorSetter) |
CreateCommitResponse |
CreateCommitResponse.withError(Error error) |
CreateCommitResponse |
CreateCommitResponse.withResult(java.util.function.Consumer<List<CreateCommitResponseBody>> resultSetter) |
CreateCommitResponse |
CreateCommitResponse.withResult(List<CreateCommitResponseBody> result) |
CreateCommitResponse |
CreateCommitResponse.withStatus(String status) |
Copyright © 2022. All rights reserved.