Uses of Class
org.eclipse.jgit.internal.storage.pack.PackExt
-
Packages that use PackExt 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. -
-
Uses of PackExt in org.eclipse.jgit.internal.storage.dfs
Fields in org.eclipse.jgit.internal.storage.dfs declared as PackExt Modifier and Type Field Description (package private) PackExt
BlockBasedFile. ext
private PackExt
BlockBasedFile.LazyChannel. ext
Fields in org.eclipse.jgit.internal.storage.dfs with type parameters of type PackExt Modifier and Type Field Description private java.util.Map<PackExt,java.lang.Integer>
DfsBlockCacheConfig. cacheHotMap
Methods in org.eclipse.jgit.internal.storage.dfs that return types with arguments of type PackExt Modifier and Type Method Description java.util.Map<PackExt,java.lang.Integer>
DfsBlockCacheConfig. getCacheHotMap()
Get the map of hot count per pack extension forDfsBlockCache
.Methods in org.eclipse.jgit.internal.storage.dfs with parameters of type PackExt Modifier and Type Method Description void
DfsPackDescription. addFileExt(PackExt ext)
Adds the pack file extension to the known list.(package private) byte[]
InMemoryRepository.MemPack. get(PackExt ext)
int
DfsPackDescription. getBlockSize(PackExt ext)
Get blockSize of the file, in bytes.java.lang.String
DfsPackDescription. getFileName(PackExt ext)
Get file namelong
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, java.lang.String name, PackExt ext)
Create aDfsStreamKey
protected abstract ReadableChannel
DfsObjDatabase. openFile(DfsPackDescription desc, PackExt ext)
Open a pack, pack index, or other related file for reading.protected ReadableChannel
InMemoryRepository.MemObjDatabase. openFile(DfsPackDescription desc, PackExt ext)
(package private) void
InMemoryRepository.MemPack. put(PackExt ext, byte[] data)
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 abstract DfsOutputStream
DfsObjDatabase. writeFile(DfsPackDescription desc, PackExt ext)
Open a pack, pack index, or other related file for writing.protected DfsOutputStream
InMemoryRepository.MemObjDatabase. writeFile(DfsPackDescription desc, PackExt ext)
Method parameters in org.eclipse.jgit.internal.storage.dfs with type arguments of type PackExt Modifier and Type Method Description DfsBlockCacheConfig
DfsBlockCacheConfig. setCacheHotMap(java.util.Map<PackExt,java.lang.Integer> cacheHotMap)
Set the map of hot count per pack extension forDfsBlockCache
.Constructors in org.eclipse.jgit.internal.storage.dfs with parameters of type PackExt Constructor Description BlockBasedFile(DfsBlockCache cache, DfsPackDescription desc, PackExt ext)
ByteArrayDfsStreamKey(DfsRepositoryDescription repo, byte[] name, PackExt ext)
DfsStreamKey(int hash, PackExt ext)
Constructor for DfsStreamKey.LazyChannel(DfsReader ctx, DfsPackDescription desc, PackExt ext)
-
Uses of PackExt in org.eclipse.jgit.internal.storage.file
Fields in org.eclipse.jgit.internal.storage.file declared as PackExt Modifier and Type Field Description private PackExt
PackFile. packExt
Methods in org.eclipse.jgit.internal.storage.file that return PackExt Modifier and Type Method Description PackExt
PackFile. getPackExt()
Getter for the fieldpackExt
.private static PackExt
PackFile. getPackExt(java.lang.String endsWithExtension)
Methods in org.eclipse.jgit.internal.storage.file that return types with arguments of type PackExt Modifier and Type Method Description private java.util.Map<java.lang.String,java.util.Map<PackExt,PackFile>>
PackDirectory. getPackFilesByExtById()
Methods in org.eclipse.jgit.internal.storage.file with parameters of type PackExt Modifier and Type Method Description PackFile
PackFile. create(PackExt ext)
Create a new similar PackFile with the given extension instead.private static java.lang.String
PackFile. createName(java.lang.String id, PackExt extension)
private java.lang.String
PackFile. getName(PackExt ext)
Constructors in org.eclipse.jgit.internal.storage.file with parameters of type PackExt Constructor Description PackFile(java.io.File directory, java.lang.String id, PackExt ext)
Create a PackFile for a pack or related file.PackFile(java.io.File directory, ObjectId id, PackExt ext)
Create a PackFile for a pack or related file. -
Uses of PackExt in org.eclipse.jgit.internal.storage.pack
Methods in org.eclipse.jgit.internal.storage.pack that return PackExt Modifier and Type Method Description static PackExt
PackExt. valueOf(java.lang.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.
-