Help us shape the future of Go! Take the 2026 Go Developer Survey

cellref

package
v0.0.87 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package cellref resolves cell names using portable, captured project settings.

Index

Constants

View Source
const DefaultRef = "main"

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	Pattern  string `json:"pattern,omitempty"`
	SelfRepo string `json:"self_repo,omitempty"`
	SelfRef  string `json:"self_ref,omitempty"`
	RootRepo string `json:"root_repo,omitempty"`
	RootRef  string `json:"root_ref,omitempty"`
	BaseDir  string `json:"base_dir,omitempty"`
}

func (Context) Resolve

func (c Context) Resolve(value, ref string) (Target, error)

type Target

type Target struct{ Cell, Repository, Ref string }

Jump to

Keyboard shortcuts

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