Package | Description |
---|---|
org.eclipse.jgit.internal.storage.dfs |
Distributed file system 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 | Field and Description |
---|---|
static PackExt |
PackExt.BITMAP_INDEX
A pack bitmap index file extension.
|
static PackExt |
PackExt.INDEX
A pack index file extension.
|
static PackExt |
PackExt.KEEP
A keep pack file extension.
|
static PackExt |
PackExt.PACK
A pack file extension.
|
static PackExt |
PackExt.REFTABLE
A reftable file.
|
Modifier and Type | Method and Description |
---|---|
static PackExt |
PackExt.newPackExt(String ext)
Returns a PackExt for the file extension and registers it in the values
array.
|
static PackExt[] |
PackExt.values()
Get all of the PackExt values.
|
Copyright © 2020 Eclipse JGit Project. All rights reserved.