logicalnames

package
v4.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

code-from-spec: SPEC/golang/implementation/utils/logical_names@M6bFLcyqfTp3Vj4VNU14bIW6r2U

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidPath = errors.New("path is not a _node.md file under code-from-spec/")
View Source
var ErrNoParent = errors.New("logical name is SPEC itself")
View Source
var ErrNotASpecReference = errors.New("logical name is not a SPEC/ reference")
View Source
var ErrNotAnArtifactReference = errors.New("logical name does not start with ARTIFACT/")
View Source
var ErrNotAnExternalReference = errors.New("logical name does not start with EXTERNAL/")
View Source
var ErrUnsupportedReference = errors.New("logical name is not a SPEC/ reference")

Functions

func LogicalNameExternalToPath

func LogicalNameExternalToPath(logicalName string) (*pathutils.PathCfs, error)

func LogicalNameFromPath

func LogicalNameFromPath(cfsPath *pathutils.PathCfs) (string, error)

func LogicalNameGetArtifactGenerator

func LogicalNameGetArtifactGenerator(logicalName string) (string, error)

func LogicalNameGetParent

func LogicalNameGetParent(logicalName string) (string, error)

func LogicalNameGetQualifier

func LogicalNameGetQualifier(logicalName string) (string, bool)

func LogicalNameHasParent

func LogicalNameHasParent(logicalName string) bool

func LogicalNameHasQualifier

func LogicalNameHasQualifier(logicalName string) bool

func LogicalNameIsArtifact

func LogicalNameIsArtifact(logicalName string) bool

func LogicalNameIsExternal

func LogicalNameIsExternal(logicalName string) bool

func LogicalNameIsSpec

func LogicalNameIsSpec(logicalName string) bool

func LogicalNameStripQualifier

func LogicalNameStripQualifier(logicalName string) string

func LogicalNameToPath

func LogicalNameToPath(logicalName string) (*pathutils.PathCfs, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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