Package | Description |
---|---|
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.pgm.debug | |
org.eclipse.jgit.util |
Utility classes.
|
Modifier and Type | Field and Description |
---|---|
(package private) RefList<Ref> |
DfsRefDatabase.RefCache.ids |
(package private) RefList<Ref> |
DfsRefDatabase.RefCache.sym |
Modifier and Type | Method and Description |
---|---|
private Ref |
DfsRefDatabase.resolve(Ref ref,
int depth,
RefList<Ref> loose) |
Constructor and Description |
---|
RefCache(RefList<Ref> ids,
DfsRefDatabase.RefCache old) |
RefCache(RefList<Ref> ids,
RefList<Ref> sym)
Initialize a new reference cache.
|
RefCache(RefList<Ref> ids,
RefList<Ref> sym)
Initialize a new reference cache.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
RefDirectory.PackedRefList |
Modifier and Type | Field and Description |
---|---|
private RefList<RefDirectory.LooseRef> |
RefDirectory.LooseScanner.curLoose |
Modifier and Type | Field and Description |
---|---|
private java.util.concurrent.atomic.AtomicReference<RefList<RefDirectory.LooseRef>> |
RefDirectory.looseRefs
Immutable sorted list of loose references.
|
Modifier and Type | Method and Description |
---|---|
private static RefList<Ref> |
PackedBatchRefUpdate.applyUpdates(RevWalk walk,
RefList<Ref> refs,
java.util.List<ReceiveCommand> commands) |
private RefList<RefDirectory.LooseRef> |
RefDirectory.getLooseRefs() |
private RefList<Ref> |
RefDirectory.parsePackedRefs(java.io.BufferedReader br) |
private RefList<Ref> |
RefDirectory.upcast(RefList<? extends Ref> loose) |
Modifier and Type | Method and Description |
---|---|
private static RefList<Ref> |
PackedBatchRefUpdate.applyUpdates(RevWalk walk,
RefList<Ref> refs,
java.util.List<ReceiveCommand> commands) |
(package private) RefDirectory.PackedRefList |
RefDirectory.commitPackedRefs(LockFile lck,
RefList<Ref> refs,
RefDirectory.PackedRefList oldPackedList,
boolean changed) |
private Ref |
RefDirectory.readAndResolve(java.lang.String name,
RefList<Ref> packed) |
private Ref |
RefDirectory.readRef(java.lang.String name,
RefList<Ref> packed) |
private Ref |
RefDirectory.resolve(Ref ref,
int depth,
java.lang.String prefix,
RefList<RefDirectory.LooseRef> loose,
RefList<Ref> packed) |
private Ref |
RefDirectory.resolve(Ref ref,
int depth,
java.lang.String prefix,
RefList<RefDirectory.LooseRef> loose,
RefList<Ref> packed) |
private RefList<Ref> |
RefDirectory.upcast(RefList<? extends Ref> loose) |
Constructor and Description |
---|
LooseScanner(RefList<RefDirectory.LooseRef> curLoose) |
PackedRefList(RefList<Ref> src,
FileSnapshot s,
ObjectId i) |
Modifier and Type | Field and Description |
---|---|
(package private) RefList<Ref> |
Scanner.Result.all |
(package private) RefList<Ref> |
Scanner.Result.sym |
Modifier and Type | Method and Description |
---|---|
private static Ref |
Scanner.resolve(Ref ref,
int depth,
RefList<Ref> refs) |
Constructor and Description |
---|
Result(ObjectId id,
RefList<Ref> all,
RefList<Ref> sym) |
Result(ObjectId id,
RefList<Ref> all,
RefList<Ref> sym) |
Constructor and Description |
---|
RefWriter(RefList<Ref> refs)
Constructor for RefWriter.
|
Modifier and Type | Method and Description |
---|---|
private RefList<Ref> |
BenchmarkReftable.readLsRemote() |
Modifier and Type | Field and Description |
---|---|
private static RefList<Ref> |
RefList.EMPTY |
(package private) RefList<Ref> |
RefMap.loose
Immutable collection of the loose references at construction time.
|
(package private) RefList<Ref> |
RefMap.packed
Immutable collection of the packed references at construction time.
|
(package private) RefList<Ref> |
RefMap.resolved
Immutable collection of resolved symbolic references.
|
Modifier and Type | Method and Description |
---|---|
RefList<T> |
RefList.add(int idx,
T ref)
Add an item at a specific index.
|
static <T extends Ref> |
RefList.emptyList()
Create an empty unmodifiable reference list.
|
RefList<T> |
RefList.put(T ref)
Store a reference, adding or replacing as necessary.
|
RefList<T> |
RefList.remove(int idx)
Remove an item at a specific index.
|
RefList<T> |
RefList.set(int idx,
T ref)
Obtain a new copy of the list after changing one element.
|
RefList<T> |
RefList.Builder.toRefList() |
Modifier and Type | Method and Description |
---|---|
static <T extends Ref> |
RefList.toRefList(java.util.function.BinaryOperator<T> mergeFunction)
Create a
Collector for Ref . |
Constructor and Description |
---|
RefList(RefList<T> src)
Initialize this list to use the same backing array as another list.
|
RefMap(java.lang.String prefix,
RefList<? extends Ref> packed,
RefList<? extends Ref> loose,
RefList<? extends Ref> resolved)
Construct a map to merge 3 collections together.
|
RefMap(java.lang.String prefix,
RefList<? extends Ref> packed,
RefList<? extends Ref> loose,
RefList<? extends Ref> resolved)
Construct a map to merge 3 collections together.
|
RefMap(java.lang.String prefix,
RefList<? extends Ref> packed,
RefList<? extends Ref> loose,
RefList<? extends Ref> resolved)
Construct a map to merge 3 collections together.
|