Package | Description |
---|---|
org.eclipse.jgit.api |
High-level API commands (the porcelain of JGit).
|
org.eclipse.jgit.attributes |
Support for reading .gitattributes.
|
org.eclipse.jgit.blame |
Computing blame/annotate information of files.
|
org.eclipse.jgit.errors |
Exceptions thrown by lower-level JGit APIs.
|
org.eclipse.jgit.gitrepo | |
org.eclipse.jgit.internal.fsck |
Git fsck support.
|
org.eclipse.jgit.internal.ketch |
Distributed consensus system built on Git.
|
org.eclipse.jgit.internal.storage.dfs |
Distributed file system based repository storage.
|
org.eclipse.jgit.internal.storage.file |
File based repository storage.
|
org.eclipse.jgit.internal.storage.pack |
Reading/writing Git pack files.
|
org.eclipse.jgit.internal.storage.reftable | |
org.eclipse.jgit.internal.storage.reftree | |
org.eclipse.jgit.lfs | |
org.eclipse.jgit.lfs.internal | |
org.eclipse.jgit.lfs.server | |
org.eclipse.jgit.lfs.server.fs | |
org.eclipse.jgit.lib |
Core API for repository, config, refs, object database.
|
org.eclipse.jgit.merge |
Content and commit history merge algorithms.
|
org.eclipse.jgit.revwalk |
Walking revision graphs (commit history).
|
org.eclipse.jgit.storage.file | |
org.eclipse.jgit.transport |
Transport (fetch/push) for different protocols.
|
org.eclipse.jgit.treewalk |
Walking and comparing directory/file trees (of commits, file system).
|
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Method and Description |
---|---|
(package private) java.io.File |
CloneCommand.getDirectory()
Get the git directory.
|
Modifier and Type | Method and Description |
---|---|
MergeCommand |
MergeCommand.setFastForward(MergeCommand.FastForwardMode fastForwardMode)
Sets the fast forward mode.
|
PullCommand |
PullCommand.setFastForward(MergeCommand.FastForwardMode fastForwardMode)
Set the fast forward mode.
|
FetchCommand |
FetchCommand.setRecurseSubmodules(SubmoduleConfig.FetchRecurseSubmodulesMode recurse)
Set the mode to be used for recursing into submodules.
|
PullCommand |
PullCommand.setRecurseSubmodules(SubmoduleConfig.FetchRecurseSubmodulesMode recurse)
Set the mode to be used for recursing into submodules.
|
Modifier and Type | Method and Description |
---|---|
private static AttributesNode |
AttributesHandler.attributesNode(TreeWalk treeWalk,
WorkingTreeIterator workingTreeIterator,
DirCacheIterator dirCacheIterator,
CanonicalTreeParser otherTree)
Get the
AttributesNode for the current entry. |
private static AttributesNode |
AttributesHandler.attributesNode(TreeWalk treeWalk,
WorkingTreeIterator workingTreeIterator,
DirCacheIterator dirCacheIterator,
CanonicalTreeParser otherTree)
Get the
AttributesNode for the current entry. |
private static AttributesNode |
AttributesHandler.attributesNode(TreeWalk treeWalk,
WorkingTreeIterator workingTreeIterator,
DirCacheIterator dirCacheIterator,
CanonicalTreeParser otherTree)
Get the
AttributesNode for the current entry. |
protected void |
AttributesHandler.mergeAttributes(AttributesNode node,
java.lang.String entryPath,
boolean isDirectory,
Attributes result)
Merges the matching node attributes for an entry path.
|
private void |
AttributesHandler.mergePerDirectoryEntryAttributes(java.lang.String entryPath,
int nameRoot,
boolean isDirectory,
WorkingTreeIterator workingTreeIterator,
DirCacheIterator dirCacheIterator,
CanonicalTreeParser otherTree,
Attributes result)
Merges the matching working directory attributes for an entry path.
|
private void |
AttributesHandler.mergePerDirectoryEntryAttributes(java.lang.String entryPath,
int nameRoot,
boolean isDirectory,
WorkingTreeIterator workingTreeIterator,
DirCacheIterator dirCacheIterator,
CanonicalTreeParser otherTree,
Attributes result)
Merges the matching working directory attributes for an entry path.
|
private void |
AttributesHandler.mergePerDirectoryEntryAttributes(java.lang.String entryPath,
int nameRoot,
boolean isDirectory,
WorkingTreeIterator workingTreeIterator,
DirCacheIterator dirCacheIterator,
CanonicalTreeParser otherTree,
Attributes result)
Merges the matching working directory attributes for an entry path.
|
private static <T extends AbstractTreeIterator> |
AttributesHandler.parentOf(T node) |
private static <T extends AbstractTreeIterator> |
AttributesHandler.rootOf(T node) |
Modifier and Type | Method and Description |
---|---|
RenameDetector |
BlameGenerator.getRenameDetector()
Obtain the RenameDetector, allowing the application to configure its
settings for rename score and breaking behavior.
|
Modifier and Type | Method and Description |
---|---|
ObjectChecker.ErrorType |
CorruptObjectException.getErrorType()
Specific error condition identified by
ObjectChecker . |
CorruptPackIndexException.ErrorType |
CorruptPackIndexException.getErrorType()
Specific the reason of the corrupt index file.
|
Modifier and Type | Method and Description |
---|---|
ObjectId |
RepoCommand.RemoteReader.sha1(java.lang.String uri,
java.lang.String ref)
Read a remote ref sha1.
|
Modifier and Type | Method and Description |
---|---|
ObjectChecker.ErrorType |
FsckError.CorruptObject.getErrorType() |
Modifier and Type | Method and Description |
---|---|
ObjectId |
ReplicaSnapshot.getAccepted()
Get last known Git commit at
refs/txn/accepted |
PersonIdent |
Proposal.getAuthor()
Get optional author of the proposal.
|
LogIndex |
LeaderSnapshot.getCommitted()
Get state the leader knows is committed on a majority of participant
replicas
|
ObjectId |
ReplicaSnapshot.getCommitted()
Get last known Git commit at
refs/txn/committed |
java.lang.String |
ReplicaSnapshot.getErrorMessage()
Get error message
|
java.lang.Throwable |
ReplicaPushRequest.getException()
Get exception thrown, if any.
|
LogIndex |
LeaderSnapshot.getHead()
Get end of the leader's log
|
java.lang.String |
Proposal.getMessage()
Get optional message for the commit log of the RefTree.
|
PushCertificate |
Proposal.getPushCertificate()
Get optional certificate signing the references.
|
java.util.Map<java.lang.String,Ref> |
ReplicaFetchRequest.getRefs()
Get remote references, usually from the advertisement.
|
java.util.Map<java.lang.String,Ref> |
ReplicaPushRequest.getRefs()
Get remote references, usually from the advertisement.
|
protected RemoteConfig |
RemoteGitReplica.getRemoteConfig()
Get optional configuration describing how to contact the peer.
|
java.util.Date |
ReplicaSnapshot.getRetryAt()
Get when the leader will retry communication with the offline or lagging
replica
|
java.lang.String |
KetchSystem.newLeaderTag()
Construct a random tag to identify a candidate during leader election.
|
private static ObjectId |
KetchReplica.readId(ReplicaPushRequest req,
ReceiveCommand cmd) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
KetchReplica.afterPush(Repository repo,
ReplicaPushRequest req)
Callback from
ReplicaPushRequest upon success or failure. |
private static boolean |
ProposalRound.canCombine(PersonIdent a,
PersonIdent b) |
private static boolean |
ProposalRound.canCombine(PersonIdent a,
PersonIdent b) |
private static boolean |
KetchReplica.equals(ObjectId a,
LogIndex b) |
private static void |
Proposal.format(java.lang.StringBuilder s,
Ref r,
java.lang.String n) |
(package private) static ObjectId |
KetchReplica.getId(Ref ref) |
java.util.List<ReceiveCommand> |
StageBuilder.makeStageList(java.util.Set<ObjectId> newObjs,
Repository git,
ObjectInserter inserter)
Construct a set of commands to stage objects on a replica.
|
java.util.List<ReceiveCommand> |
StageBuilder.makeStageList(java.util.Set<ObjectId> newObjs,
Repository git,
ObjectInserter inserter)
Construct a set of commands to stage objects on a replica.
|
private static java.lang.String |
ProposalRound.nullToEmpty(java.lang.String str) |
private static ObjectId |
KetchReplica.readId(ReplicaPushRequest req,
ReceiveCommand cmd) |
Proposal |
Proposal.setAuthor(PersonIdent who)
Set the author for the proposal.
|
void |
ReplicaPushRequest.setException(Repository repo,
java.lang.Throwable err)
Mark the request as crashing with a communication error.
|
Proposal |
Proposal.setMessage(java.lang.String msg)
Set the message to appear in the commit log of the RefTree.
|
Proposal |
Proposal.setPushCertificate(PushCertificate cert)
Set the push certificate signing the references.
|
private void |
KetchReplica.updateView(ReplicaPushRequest req,
ObjectId acceptId,
ReceiveCommand commitCmd) |
Constructor and Description |
---|
ProposalRound(KetchLeader leader,
LogIndex head,
java.util.List<Proposal> todo,
RefTree tree) |
RemoteGitReplica(KetchLeader leader,
java.lang.String name,
URIish uri,
ReplicaConfig cfg,
RemoteConfig rc)
Configure a new remote.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
InMemoryRepository.getGitwebDescription()
Read the
GIT_DIR/description file for gitweb. |
Modifier and Type | Method and Description |
---|---|
protected boolean |
DfsReftableDatabase.compareAndPut(Ref oldRef,
Ref newRef)
Compare a reference, and put if it matches.
|
(package private) DfsBlock |
DfsBlockCache.getOrLoad(BlockBasedFile file,
long position,
DfsReader ctx,
ReadableChannel fileChannel)
Lookup a cached object, creating and loading it if it doesn't exist.
|
private static boolean |
ReftableBatchRefUpdate.matchOld(ReceiveCommand cmd,
Ref ref) |
static DfsStreamKey |
DfsStreamKey.of(DfsRepositoryDescription repo,
java.lang.String name,
PackExt ext)
Create a
DfsStreamKey |
(package private) DfsBlock |
BlockBasedFile.readOneBlock(long pos,
DfsReader ctx,
ReadableChannel fileChannel) |
void |
InMemoryRepository.setGitwebDescription(java.lang.String d)
Set the
GIT_DIR/description file for gitweb. |
Constructor and Description |
---|
ByteArrayDfsStreamKey(DfsRepositoryDescription repo,
byte[] name,
PackExt ext) |
DfsStreamKey(int hash,
PackExt ext)
Constructor for DfsStreamKey.
|
Modifier and Type | Field and Description |
---|---|
private ObjectInserter |
WindowCursor.createdFromInserter |
Modifier and Type | Method and Description |
---|---|
ObjectInserter |
WindowCursor.getCreatedFromInserter()
Get the
ObjectInserter from which this
reader was created using inserter.newReader() |
java.lang.String |
FileRepository.getGitwebDescription()
Read the
GIT_DIR/description file for gitweb. |
private java.util.Map<java.lang.String,LockFile> |
PackedBatchRefUpdate.lockLooseRefs(java.util.List<ReceiveCommand> commands)
Lock loose refs corresponding to a list of commands.
|
(package private) LockFile |
RefDirectory.lockPackedRefs() |
Modifier and Type | Method and Description |
---|---|
void |
FileRepository.setGitwebDescription(java.lang.String description)
Set the
GIT_DIR/description file for gitweb. |
private static void |
PackedBatchRefUpdate.unlockAll(java.util.Map<?,LockFile> locks) |
Constructor and Description |
---|
WindowCursor(FileObjectDatabase db,
ObjectDirectoryInserter createdFromInserter) |
Constructor and Description |
---|
PackWriter(PackConfig config,
ObjectReader reader,
PackStatistics.Accumulator statsAccumulator)
Create writer with a specified configuration.
|
Modifier and Type | Method and Description |
---|---|
Ref |
Reftable.exactRef(java.lang.String refName)
Lookup a reference, or null if not found.
|
(package private) LongList |
BlockReader.readBlockPositionList() |
(package private) ReflogEntry |
BlockReader.readLogEntry() |
Ref |
Reftable.resolve(Ref symref)
Resolve a symbolic reference to populate its value.
|
Modifier and Type | Method and Description |
---|---|
private static long |
ReftableWriter.firstBlockPosition(ReftableWriter.Section s) |
private static long |
ReftableWriter.indexPosition(ReftableWriter.Section s) |
void |
ReftableWriter.writeLog(java.lang.String ref,
long updateIndex,
PersonIdent who,
ObjectId oldId,
ObjectId newId,
java.lang.String message)
Write one reflog entry to the reftable.
|
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
RefTreeDatabase.txnNamespace |
Modifier and Type | Method and Description |
---|---|
Ref |
RefTree.exactRef(ObjectReader reader,
java.lang.String name)
Read one reference.
|
(package private) Ref |
RefTreeBatch.exactRef(ObjectReader reader,
java.lang.String name) |
java.lang.String |
Command.getMessage()
Get optional message explaining command failure.
|
Ref |
Command.getNewRef()
New peeled reference.
|
Ref |
Command.getOldRef()
Old peeled reference.
|
java.lang.String |
RefTreeDatabase.getTxnNamespace()
Get namespace used by bootstrap layer.
|
Modifier and Type | Method and Description |
---|---|
static void |
Command.abort(java.lang.Iterable<Command> commands,
java.lang.String why)
Set unprocessed commands as failed due to transaction aborted.
|
private static boolean |
Command.check(DirCacheEntry cur,
Ref exp) |
private static boolean |
Command.check(DirCacheEntry cur,
Ref exp) |
(package private) boolean |
Command.checkRef(DirCacheEntry entry)
Check the entry is consistent with either the old or the new ref.
|
private static void |
RefTree.checkRef(DirCacheEntry ent,
Command cmd) |
private static ObjectId |
RefTreeDatabase.idOf(Ref src) |
private RefUpdate.Result |
RefTreeUpdate.run(Ref newRef,
RefUpdate.Result desiredResult) |
(package private) static Scanner.Result |
Scanner.scanRefTree(Repository repo,
Ref src,
java.lang.String prefix,
boolean recursive)
|
void |
Command.setResult(ReceiveCommand.Result result,
java.lang.String why)
Set the result of this command.
|
(package private) static Ref |
Command.toRef(RevWalk rw,
ObjectId id,
java.lang.String target,
java.lang.String name,
boolean mustExist) |
Constructor and Description |
---|
Command(Ref oldRef,
Ref newRef)
Create a command to create, update or delete a reference.
|
Command(Ref oldRef,
Ref newRef)
Create a command to create, update or delete a reference.
|
Modifier and Type | Method and Description |
---|---|
PrePushHook |
BuiltinLFS.getPrePushHook(Repository repo,
java.io.PrintStream outputStream) |
static LfsPointer |
LfsPointer.parseLfsPointer(java.io.InputStream in)
Try to parse the data provided by an InputStream to the format defined by
LfsPointer.VERSION |
Modifier and Type | Method and Description |
---|---|
AnyLongObjectId |
AtomicObjectOutputStream.getId()
Get the
id . |
Modifier and Type | Method and Description |
---|---|
Response.Action |
LargeFileRepository.getVerifyAction(AnyLongObjectId id)
Get verify action
|
Modifier and Type | Method and Description |
---|---|
Response.Action |
FileLfsRepository.getVerifyAction(AnyLongObjectId id)
Get verify action
|
Modifier and Type | Method and Description |
---|---|
Ref |
RefDatabase.exactRef(java.lang.String name)
Read a single reference.
|
Ref |
Repository.exactRef(java.lang.String name)
Get a ref by name.
|
static Ref |
RefDatabase.findRef(java.util.Map<java.lang.String,Ref> map,
java.lang.String name)
Try to find the specified name in the ref map using
RefDatabase.SEARCH_PATH . |
Ref |
Repository.findRef(java.lang.String name)
Search for a ref by (possibly abbreviated) name.
|
Ref |
RefDatabase.firstExactRef(java.lang.String... refs)
Find the first named reference.
|
java.lang.String |
Repository.getBranch()
Get the short name of the current branch that
HEAD points to. |
ObjectInserter |
ObjectReader.getCreatedFromInserter()
Get the
ObjectInserter from which this
reader was created using inserter.newReader() |
ObjectInserter |
ObjectReader.Filter.getCreatedFromInserter() |
java.lang.String |
Repository.getFullBranch()
Get the name of the reference that
HEAD points to. |
java.lang.String |
Repository.getGitwebDescription()
Read the
GIT_DIR/description file for gitweb. |
ObjectId |
ObjectIdRef.getObjectId()
Cached value of this ref.
|
ObjectId |
Ref.getObjectId()
Cached value of this ref.
|
ObjectId |
SymbolicRef.getObjectId()
Cached value of this ref.
|
ObjectId |
ObjectIdRef.Unpeeled.getPeeledObjectId() |
ObjectId |
ObjectIdRef.PeeledNonTag.getPeeledObjectId() |
ObjectId |
Ref.getPeeledObjectId()
Cached value of
ref^{} (the ref peeled to commit). |
ObjectId |
SymbolicRef.getPeeledObjectId()
Cached value of
ref^{} (the ref peeled to commit). |
java.util.List<java.lang.String> |
BatchRefUpdate.getPushOptions()
Gets the list of option strings associated with this update.
|
abstract Ref |
RefDatabase.getRef(java.lang.String name)
Read a single reference.
|
Ref |
Repository.getRef(java.lang.String name)
Deprecated.
Use
Repository.exactRef(String) or Repository.findRef(String)
instead. |
java.lang.String |
BatchRefUpdate.getRefLogMessage()
Get the message to include in the reflog.
|
abstract ReflogReader |
Repository.getReflogReader(java.lang.String refName)
Get the reflog reader
|
java.lang.String |
Repository.getRemoteName(java.lang.String refName)
Get remote name
|
private ObjectId |
ObjectChecker.idFor(int objType,
byte[] raw) |
BlobObjectChecker |
ObjectChecker.newBlobObjectChecker()
Create a new
BlobObjectChecker . |
private RevObject |
Repository.parseSimple(RevWalk rw,
java.lang.String revstr) |
static ObjectId |
ObjectIdSerializer.read(java.io.InputStream in) |
ObjectId |
Repository.readCherryPickHead()
Return the information stored in the file $GIT_DIR/CHERRY_PICK_HEAD.
|
java.lang.String |
Repository.readCommitEditMsg()
Return the information stored in the file $GIT_DIR/COMMIT_EDITMSG.
|
private java.lang.String |
Repository.readCommitMsgFile(java.lang.String msgFilename) |
private byte[] |
Repository.readGitDirectoryFile(java.lang.String filename)
Read a file from the git directory.
|
protected byte[] |
Config.readIncludedConfig(java.lang.String relPath)
Read the included config from the specified (possibly) relative path
|
java.lang.String |
Repository.readMergeCommitMsg()
Return the information stored in the file $GIT_DIR/MERGE_MSG.
|
java.util.List<ObjectId> |
Repository.readMergeHeads()
Return the information stored in the file $GIT_DIR/MERGE_HEAD.
|
ObjectId |
Repository.readOrigHead()
Return the information stored in the file $GIT_DIR/ORIG_HEAD.
|
ObjectId |
Repository.readRevertHead()
Return the information stored in the file $GIT_DIR/REVERT_HEAD.
|
java.lang.String |
Repository.readSquashCommitMsg()
Return the information stored in the file $GIT_DIR/SQUASH_MSG.
|
private java.lang.Object |
Repository.resolve(RevWalk rw,
java.lang.String revstr) |
ObjectId |
Repository.resolve(java.lang.String revstr)
Parse a git revision string and return an object id.
|
private ObjectId |
Repository.resolveAbbreviation(java.lang.String revstr) |
private java.lang.String |
Repository.resolveReflogCheckout(int checkoutNo) |
private ObjectId |
Repository.resolveSimple(java.lang.String revstr) |
java.lang.String |
Repository.shortenRemoteBranchName(java.lang.String refName)
Get a shortened more user friendly remote tracking branch name
|
java.lang.String |
Repository.simplify(java.lang.String revstr)
Simplify an expression, but unlike
Repository.resolve(String) it will not
resolve a branch passed or resulting from the expression, such as @{-}. |
Modifier and Type | Method and Description |
---|---|
void |
ObjectChecker.check(AnyObjectId id,
int objType,
byte[] raw)
Check an object for parsing errors.
|
void |
ObjectChecker.checkCommit(AnyObjectId id,
byte[] raw)
Check a commit for errors.
|
private void |
ObjectChecker.checkNotWindowsDevice(byte[] raw,
int ptr,
int end,
AnyObjectId id) |
private void |
ObjectChecker.checkPathSegment2(byte[] raw,
int ptr,
int end,
AnyObjectId id) |
private void |
ObjectChecker.checkPersonIdent(byte[] raw,
AnyObjectId id) |
void |
ObjectChecker.checkTag(AnyObjectId id,
byte[] raw)
Check an annotated tag for errors.
|
void |
ObjectChecker.checkTree(AnyObjectId id,
byte[] raw)
Check a canonical formatted tree for errors.
|
private boolean |
ObjectChecker.checkTruncatedIgnorableUTF8(byte[] raw,
int ptr,
int end,
AnyObjectId id) |
private boolean |
ObjectChecker.isMacHFSGit(byte[] raw,
int ptr,
int end,
AnyObjectId id) |
private void |
ObjectChecker.report(ObjectChecker.ErrorType err,
AnyObjectId id,
java.lang.String why) |
private int |
ObjectChecker.scanPathSegment(byte[] raw,
int ptr,
int end,
AnyObjectId id) |
void |
Repository.setGitwebDescription(java.lang.String description)
Set the
GIT_DIR/description file for gitweb. |
ObjectChecker |
ObjectChecker.setIgnore(java.util.Set<ObjectChecker.ErrorType> ids)
Configure error types to be ignored across all objects.
|
ObjectChecker |
ObjectChecker.setSkipList(ObjectIdSet objects)
Enable accepting specific malformed (but not horribly broken) objects.
|
static void |
ObjectIdSerializer.write(java.io.OutputStream out,
AnyObjectId id) |
Constructor and Description |
---|
ObjectIdRef(Ref.Storage st,
java.lang.String name,
ObjectId id)
Create a new ref pairing.
|
PeeledNonTag(Ref.Storage st,
java.lang.String name,
ObjectId id)
Create a new ref pairing.
|
PeeledTag(Ref.Storage st,
java.lang.String name,
ObjectId id,
ObjectId p)
Create a new ref pairing.
|
Unpeeled(Ref.Storage st,
java.lang.String name,
ObjectId id)
Create a new ref pairing.
|
Modifier and Type | Field and Description |
---|---|
protected Repository |
Merger.db
The repository this merger operates on.
|
Modifier and Type | Method and Description |
---|---|
Repository |
Merger.getRepository()
Get the repository this merger operates on.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
RevCommit.getEncodingName()
Determine the encoding of the commit message buffer.
|
Modifier and Type | Method and Description |
---|---|
protected byte[] |
FileBasedConfig.readIncludedConfig(java.lang.String relPath)
Read the included config from the specified (possibly) relative path
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ReceiveCommand.getNewSymref()
Get requested new target for a symbolic reference.
|
java.lang.String |
ReceiveCommand.getOldSymref()
Get expected old target for a symbolic reference.
|
java.util.List<java.lang.String> |
ReceivePack.getPushOptions()
Gets an unmodifiable view of the option strings associated with the push.
|
ReceivedPackStatistics |
BaseReceivePack.getReceivedPackStatistics()
Returns the statistics on the received pack if available.
|
java.lang.String |
ReceiveCommand.getRefLogMessage()
Get the message to include in the reflog.
|
java.lang.Boolean |
ReceiveCommand.isForceRefLog()
Check whether the reflog should be written regardless of repo defaults.
|
ObjectChecker |
TransferConfig.newObjectChecker()
Create checker to verify fetched objects
|
ObjectChecker |
TransferConfig.newReceiveObjectChecker()
Create checker to verify objects pushed into this repository
|
(package private) static ObjectChecker.ErrorType |
TransferConfig.FsckKeyNameHolder.parse(java.lang.String key) |
Modifier and Type | Method and Description |
---|---|
static ReceiveCommand |
ReceiveCommand.link(java.lang.String oldTarget,
java.lang.String newTarget,
java.lang.String name)
Create a command to switch a symbolic reference's target.
|
void |
ReceivePack.setPushOptions(java.util.List<java.lang.String> options)
Set the push options supplied by the client.
|
Constructor and Description |
---|
ReceiveCommand(java.lang.String oldTarget,
java.lang.String newTarget,
java.lang.String name)
Create a command to switch a symbolic reference's target.
|
Modifier and Type | Method and Description |
---|---|
CoreConfig.EolStreamType |
TreeWalk.getEolStreamType()
Deprecated.
use
TreeWalk.getEolStreamType(OperationType) instead. |
CoreConfig.EolStreamType |
TreeWalk.getEolStreamType(TreeWalk.OperationType opType)
Get the EOL stream type of the current entry using the config and
TreeWalk.getAttributes() . |
Modifier and Type | Method and Description |
---|---|
static TreeWalk |
TreeWalk.forPath(Repository repo,
ObjectReader reader,
java.lang.String path,
AnyObjectId... trees)
Open a tree walk and filter to exactly one path.
|
Constructor and Description |
---|
NameConflictTreeWalk(Repository repo,
ObjectReader or)
Create a new tree walker for a given repository.
|
TreeWalk(Repository repo,
ObjectReader or)
Create a new tree walker for a given repository.
|
TreeWalk(Repository repo,
ObjectReader or,
boolean closeReader) |
Modifier and Type | Method and Description |
---|---|
LfsFactory.LfsInstallCommand |
LfsFactory.getInstallCommand()
Retrieve an
LfsFactory.LfsInstallCommand which can be used to enable LFS
support (if available) either per repository or for the user. |
PrePushHook |
LfsFactory.getPrePushHook(Repository repo,
java.io.PrintStream outputStream)
Retrieve a pre-push hook to be applied.
|
static java.lang.String |
RawParseUtils.parseEncodingName(byte[] b)
Parse the "encoding " header as a string.
|
protected static java.lang.String |
FS.readPipe(java.io.File dir,
java.lang.String[] command,
java.lang.String encoding)
Execute a command and return a single line of output as a String
|
protected static java.lang.String |
FS.readPipe(java.io.File dir,
java.lang.String[] command,
java.lang.String encoding,
java.util.Map<java.lang.String,java.lang.String> env)
Execute a command and return a single line of output as a String
|