public interface GitCatFile
git cat-file
.Modifier and Type | Method and Description |
---|---|
GitCatFileBatchBuilder |
batch(com.atlassian.bitbucket.scm.CommandInputHandler inputHandler)
Construct a builder for running cat-file in batch mode, which prints object type, size and content.
|
GitCatFileBatchBuilder |
batchCheck(com.atlassian.bitbucket.scm.CommandInputHandler inputHandler)
Construct a builder for running cat-file in batch-check mode, which prints object type and size (no content).
|
GitCatFileBuilder |
pretty()
Construct a cat-file builder which pretty prints the content of an object
|
GitCatFileBuilder |
type()
Constructs a cat-file builder which prints the type of an object (no content)
|
@Nonnull GitCatFileBatchBuilder batch(@Nonnull com.atlassian.bitbucket.scm.CommandInputHandler inputHandler)
inputHandler
- handler that provides the list of object IDs to the command (one ID per line)git cat-file --batch
@Nonnull GitCatFileBatchBuilder batchCheck(@Nonnull com.atlassian.bitbucket.scm.CommandInputHandler inputHandler)
inputHandler
- handler that provides the list of object IDs to the command (one ID per line)git cat-file --batch-check
@Nonnull GitCatFileBuilder pretty()
git cat-file -p
@Nonnull GitCatFileBuilder type()
git cat-file -t
Copyright © 2019 Atlassian. All rights reserved.