| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public static CommitGraph | |
| public static CommitGraph | Returns: a copy of the commit-graph file in memorystream to read the commit-graph file from. The stream must be
buffered as some small IOs are performed against the stream.
The caller is responsible for closing the stream. fd)Read an existing commit-graph file from a buffered stream. |
| public static CommitGraph | Returns: a copy of the commit-graph file in memorystream to read the commit-graph file from. The stream must be
buffered as some small IOs are performed against the stream.
The caller is responsible for closing the stream. fd, boolean enable reading bloom filter chunks. readChangedPathFilters)Read an existing commit-graph file from a buffered stream. |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| CommitGraphLoader | back to summary |
|---|---|
| public CommitGraphLoader() | |
| open | back to summary |
|---|---|
| public static CommitGraph open(File graphFile) throws FileNotFoundException, CommitGraphFormatException, IOException Open an existing commit-graph file for reading. The format of the file will be automatically detected and a proper access implementation for that format will be constructed and returned to the caller. The file may or may not be held open by the returned instance.
| |
| read | back to summary |
|---|---|
| public static CommitGraph read(InputStream fd) throws CommitGraphFormatException, IOException Read an existing commit-graph file from a buffered stream. The format of the file will be automatically detected and a proper access implementation for that format will be constructed and returned to the caller. The file may or may not be held open by the returned instance.
| |
| read | back to summary |
|---|---|
| public static CommitGraph read(InputStream fd, boolean readChangedPathFilters) throws CommitGraphFormatException, IOException Read an existing commit-graph file from a buffered stream. The format of the file will be automatically detected and a proper access implementation for that format will be constructed and returned to the caller. The file may or may not be held open by the returned instance.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final int | |
| pack-priv final long |
| Access | Constructor and Description |
|---|---|
| private |
| id | back to summary |
|---|---|
| pack-priv final int id | |
| offset | back to summary |
|---|---|
| pack-priv final long offset | |
| ChunkSegment | back to summary |
|---|---|
| private ChunkSegment(int id, long offset) | |