commitgraph

package
v0.1.76 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Overview

Package commitgraph provides constants and common utilities for handling commit graphs.

Index

Constants

View Source
const (
	FileSignature = 0x43475048 // "CGPH"
	FileVersion   = 1
)
View Source
const (
	ChunkOIDF = 0x4f494446 // "OIDF"
	ChunkOIDL = 0x4f49444c // "OIDL"
	ChunkCDAT = 0x43444154 // "CDAT"
	ChunkGDA2 = 0x47444132 // "GDA2"
	ChunkGDO2 = 0x47444f32 // "GDO2"
	ChunkEDGE = 0x45444745 // "EDGE"
	ChunkBIDX = 0x42494458 // "BIDX"
	ChunkBDAT = 0x42444154 // "BDAT"
	ChunkBASE = 0x42415345 // "BASE"
)
View Source
const (
	HeaderSize     = 8
	ChunkEntrySize = 12
	FanoutSize     = 256 * 4
)
View Source
const (
	ParentNone      = 0x70000000
	ParentExtraMask = 0x80000000
	ParentLastMask  = 0x7fffffff

	GenerationOverflow = 0x80000000
)

Variables

This section is empty.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
Package bloom provides a bloom filter implementation used for changed-path filters in Git commit graphs.
Package bloom provides a bloom filter implementation used for changed-path filters in Git commit graphs.
Package read provides routines for reading commit graphs.
Package read provides routines for reading commit graphs.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL