ids

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 24, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsNumericIndex

func IsNumericIndex(s string) bool

IsNumericIndex reports whether s is a non-negative integer index < 1000. Used to disambiguate REF arguments (id vs. last-search index).

func IsValidID

func IsValidID(s string) bool

IsValidID reports whether s is a 64-char lowercase hex snippet id.

func ShortPrefix

func ShortPrefix(id string) string

ShortPrefix returns the 8-char id prefix shown in search results.

Types

This section is empty.

Jump to

Keyboard shortcuts

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