refname

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2026 License: MIT Imports: 2 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package refname holds the ref name rule of the store.

Index

Constants

View Source
const Max = 255

Max is the longest ref name in bytes.

Variables

This section is empty.

Functions

func Match added in v0.6.0

func Match(p, name string) bool

Match reports whether name is p, or starts with the prefix of a pattern that ends in "*".

func Valid

func Valid(name string) bool

Valid applies the git ref-name rules that bind a name to one path.

func ValidPattern added in v0.6.0

func ValidPattern(p string) bool

ValidPattern reports whether p is a ref name, or a prefix that ends in "*".

Types

This section is empty.

Jump to

Keyboard shortcuts

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