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.pack |
Reading/writing Git pack files.
|
Modifier and Type | Method and Description |
---|---|
void |
DfsPackDescription.addFileExt(PackExt ext)
Adds the pack file extension to the known list.
|
int |
DfsPackDescription.getBlockSize(PackExt ext)
Get blockSize of the file, in bytes.
|
String |
DfsPackDescription.getFileName(PackExt ext)
Get file name
|
long |
DfsPackDescription.getFileSize(PackExt ext)
Get size of the file, in bytes.
|
DfsStreamKey |
DfsPackDescription.getStreamKey(PackExt ext)
Get cache key for use by the block cache.
|
boolean |
DfsPackDescription.hasFileExt(PackExt ext)
Whether the pack file extension is known to exist.
|
static DfsStreamKey |
DfsStreamKey.of(DfsRepositoryDescription repo,
String name,
PackExt ext)
Create a
DfsStreamKey |
protected ReadableChannel |
InMemoryRepository.MemObjDatabase.openFile(DfsPackDescription desc,
PackExt ext) |
protected abstract ReadableChannel |
DfsObjDatabase.openFile(DfsPackDescription desc,
PackExt ext)
Open a pack, pack index, or other related file for reading.
|
DfsPackDescription |
DfsPackDescription.setBlockSize(PackExt ext,
int blockSize)
Set blockSize of the file, in bytes.
|
DfsPackDescription |
DfsPackDescription.setFileSize(PackExt ext,
long bytes)
Set size of the file in bytes.
|
protected DfsOutputStream |
InMemoryRepository.MemObjDatabase.writeFile(DfsPackDescription desc,
PackExt ext) |
protected abstract DfsOutputStream |
DfsObjDatabase.writeFile(DfsPackDescription desc,
PackExt ext)
Open a pack, pack index, or other related file for writing.
|
Constructor and Description |
---|
DfsStreamKey(int hash,
PackExt ext)
Constructor for DfsStreamKey.
|
Modifier and Type | Method and Description |
---|---|
PackExt |
PackFile.getPackExt()
Getter for the field
packExt . |
Modifier and Type | Method and Description |
---|---|
PackFile |
PackFile.create(PackExt ext)
Create a new similar PackFile with the given extension instead.
|
Constructor and Description |
---|
PackFile(File directory,
ObjectId id,
PackExt ext)
Create a PackFile for a pack or related file.
|
PackFile(File directory,
String id,
PackExt ext)
Create a PackFile for a pack or related file.
|
Modifier and Type | Method and Description |
---|---|
static PackExt |
PackExt.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PackExt[] |
PackExt.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Copyright © 2021 Eclipse JGit Project. All rights reserved.