Package | Description |
---|---|
org.eclipse.jgit.dircache |
Reading and editing the directory cache (index).
|
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.reftree | |
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.notes |
Git notes processing (for commits, etc).
|
Modifier and Type | Method and Description |
---|---|
ObjectId |
DirCache.writeTree(ObjectInserter ow)
Write all index trees to the object store, returning the root tree.
|
Modifier and Type | Method and Description |
---|---|
List<ReceiveCommand> |
StageBuilder.makeStageList(Set<ObjectId> newObjs,
Repository git,
ObjectInserter inserter)
Construct a set of commands to stage objects on a replica.
|
Modifier and Type | Class and Description |
---|---|
class |
DfsInserter
Inserts objects into the DFS.
|
Modifier and Type | Method and Description |
---|---|
ObjectInserter |
DfsObjDatabase.newInserter()
Create a new
ObjectInserter to insert new objects. |
Modifier and Type | Class and Description |
---|---|
class |
PackInserter
Object inserter that inserts one pack per call to
PackInserter.flush() , and never
inserts loose objects. |
Modifier and Type | Method and Description |
---|---|
ObjectId |
RefTree.writeTree(ObjectInserter inserter)
Write this reference tree.
|
Modifier and Type | Class and Description |
---|---|
static class |
ObjectInserter.Filter
Wraps a delegate ObjectInserter.
|
static class |
ObjectInserter.Formatter
An inserter that can be used for formatting and id generation only.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ObjectInserter |
ObjectInserter.Filter.delegate() |
ObjectInserter |
ObjectReader.getCreatedFromInserter()
Get the
ObjectInserter from which this
reader was created using inserter.newReader() |
ObjectInserter |
ObjectReader.Filter.getCreatedFromInserter() |
abstract ObjectInserter |
ObjectDatabase.newInserter()
Create a new
ObjectInserter to insert new objects. |
ObjectInserter |
Repository.newObjectInserter()
Create a new inserter to create objects in
Repository.getObjectDatabase() . |
Modifier and Type | Method and Description |
---|---|
ObjectId |
TreeFormatter.computeId(ObjectInserter ins)
Compute the ObjectId for this tree
|
ObjectId |
TreeFormatter.insertTo(ObjectInserter ins)
Insert this tree and obtain its ObjectId.
|
Modifier and Type | Method and Description |
---|---|
ObjectInserter |
Merger.getObjectInserter()
Get an object writer to create objects, writing objects to
Merger.getRepository() |
Modifier and Type | Method and Description |
---|---|
abstract Merger |
MergeStrategy.newMerger(ObjectInserter inserter,
Config config)
Create a new merge instance.
|
ThreeWayMerger |
StrategyRecursive.newMerger(ObjectInserter inserter,
Config config)
Create a new merge instance.
|
Merger |
StrategyOneSided.newMerger(ObjectInserter inserter,
Config config)
Create a new merge instance.
|
ThreeWayMerger |
StrategySimpleTwoWayInCore.newMerger(ObjectInserter inserter,
Config config)
Create a new merge instance.
|
ThreeWayMerger |
StrategyResolve.newMerger(ObjectInserter inserter,
Config config)
Create a new merge instance.
|
void |
Merger.setObjectInserter(ObjectInserter oi)
Set the inserter this merger will use to create objects.
|
Constructor and Description |
---|
Merger(ObjectInserter oi)
Create a new in-core merge instance from an inserter.
|
RecursiveMerger(ObjectInserter inserter,
Config config)
Normal recursive merge, implies inCore.
|
ResolveMerger(ObjectInserter inserter,
Config config)
Constructor for ResolveMerger.
|
ThreeWayMerger(ObjectInserter inserter)
Create a new in-core merge instance from an inserter.
|
Modifier and Type | Method and Description |
---|---|
Note |
NoteMerger.merge(Note base,
Note ours,
Note their,
ObjectReader reader,
ObjectInserter inserter)
Merges the conflicting note changes.
|
Note |
DefaultNoteMerger.merge(Note base,
Note ours,
Note theirs,
ObjectReader reader,
ObjectInserter inserter)
Merges the conflicting note changes.
|
void |
NoteMap.set(AnyObjectId noteOn,
String noteData,
ObjectInserter ins)
Attach a note to an object.
|
ObjectId |
NoteMap.writeTree(ObjectInserter inserter)
Write this note map as a tree.
|
Copyright © 2018 Eclipse JGit Project. All rights reserved.