conformance

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package conformance holds the committed integration-branch corpus and its parser. It does not interpret the rows.

Index

Constants

This section is empty.

Variables

View Source
var RequiredIDs = []string{"A", "B", "C", "D"}

RequiredIDs are the DECISION-004 divergence rows. A parser test must fail if any of these are missing from the committed table.

Functions

func MissingRequiredIDs

func MissingRequiredIDs(rows []Row) []string

MissingRequiredIDs returns RequiredIDs not present in rows.

Types

type Row

type Row struct {
	ID           string
	Config       string
	Refs         []string
	Remote       string
	DefaultName  string
	Participates bool
	BareName     string
}

Row is one corpus case: (config, refs, remote, default name) → (participates, bare name).

func Load

func Load(r io.Reader) ([]Row, error)

Load reads a TSV corpus. Comment lines starting with # are skipped.

func LoadFile

func LoadFile(path string) ([]Row, error)

LoadFile reads a TSV corpus from path.

Jump to

Keyboard shortcuts

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