internal

package
v0.0.0-...-554f5f9 Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs64

func Abs64(v int64) int64

Abs64 calculates the absolute value of a 64-bit integer. Since the positive magnitude of math.MinInt64 is not representable as int64, that input saturates at math.MaxInt64.

func CreateDummyBlob

func CreateDummyBlob(hash plumbing.Hash, fails ...bool) (*object.Blob, error)

CreateDummyBlob constructs a fake object.Blob with empty contents. Optionally returns an error if read or written.

func Max

func Max(a, b int) int

Max calculates the maximum of two 32-bit integers.

func Max64

func Max64(a, b int64) int64

Max64 calculates the maximum of two 64-bit integers.

func Min

func Min(a, b int) int

Min calculates the minimum of two 32-bit integers.

func Min64

func Min64(a, b int64) int64

Min64 calculates the minimum of two 64-bit integers.

Types

This section is empty.

Directories

Path Synopsis
Package analysisio contains shared validation and bounded-input helpers for serialized Hercules analysis results.
Package analysisio contains shared validation and bounded-input helpers for serialized Hercules analysis results.
pb
schema
Package schema parses internal/pb/pb.proto into a comparable snapshot and classifies schema changes as compatible or breaking according to the policy in docs/SCHEMAS.md.
Package schema parses internal/pb/pb.proto into a comparable snapshot and classifies schema changes as compatible or breaking according to the policy in docs/SCHEMAS.md.
ast
imports/lang
Package lang implements per-language import extraction over a pure-Go tree-sitter runtime (github.com/odvcencio/gotreesitter).
Package lang implements per-language import extraction over a pure-Go tree-sitter runtime (github.com/odvcencio/gotreesitter).
Package render exposes the labours rendering pipeline as an in-process API: it turns a hercules analysis result (YAML or protobuf) into rendered chart files, mirroring the behavior of the standalone labours CLI.
Package render exposes the labours rendering pipeline as an in-process API: it turns a hercules analysis result (YAML or protobuf) into rendered chart files, mirroring the behavior of the standalone labours CLI.
outputpath
Package outputpath plans collision-resistant renderer output paths.
Package outputpath plans collision-resistant renderer output paths.
Package tickgrid holds the rule that turns wall-clock time into hercules' tick grid.
Package tickgrid holds the rule that turns wall-clock time into hercules' tick grid.

Jump to

Keyboard shortcuts

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