java.lang.Object
org.eclipse.jgit.internal.storage.dfs.DfsReftable
A reftable stored in
DfsBlockCache
.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Exception
Exception that caused the packfile to be flagged as invalid -
Constructor Summary
ConstructorsConstructorDescriptionDfsReftable
(DfsBlockCache cache, DfsPackDescription desc) Construct a reader for an existing reftable.Construct a reader for an existing reftable. -
Method Summary
Modifier and TypeMethodDescriptionGet description that was originally used to configure this file.Open reader on the reftable.
-
Field Details
-
invalidatingCause
Exception that caused the packfile to be flagged as invalid
-
-
Constructor Details
-
DfsReftable
Construct a reader for an existing reftable.- Parameters:
desc
- description of the reftable within the DFS.
-
DfsReftable
Construct a reader for an existing reftable.- Parameters:
cache
- cache that will store the reftable data.desc
- description of the reftable within the DFS.
-
-
Method Details
-
getPackDescription
Get description that was originally used to configure this file.- Returns:
- description that was originally used to configure this file.
-
open
Open reader on the reftable.The returned reader is not thread safe.
- Parameters:
ctx
- reader to access the DFS storage.- Returns:
- cursor to read the table; caller must close.
- Throws:
IOException
- table cannot be opened.
-