Documentation
¶
Overview ¶
Package strutil provides small string utilities shared across packages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CommonPrefixLen ¶
CommonPrefixLen returns the length of the longest common byte prefix of a and b.
func RepoKey ¶
RepoKey produces a stable repo identifier from a repo path using FNV-32a. Format: code_<8-char-hex>, e.g. "code_a3f2b1c0". Used as a prometheus label for per-repo metrics (implementsEdgesTotal, etc.) and as the AGE graph name. Shared between codegraph.GraphNameFor and callgraph.extractGoImplements so both produce the same key for the same repo without a cross-package import.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.