publiccheck

package
v0.2.30 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCommitRange

func CheckCommitRange(ctx context.Context, repo, base, head string) ([]string, error)

CheckCommitRange checks only commits in base..head. Both revisions must resolve to commits in the repository; an unavailable CI base is an error.

func FindForbiddenReferences

func FindForbiddenReferences(text string) []string

FindForbiddenReferences returns internal ticket, decision, session, and AI attribution markers found in public-facing text.

func RepositoryRoot

func RepositoryRoot(ctx context.Context, dir string) (string, error)

RepositoryRoot resolves the Git worktree root from an arbitrary working directory, or returns a useful error when invoked outside a checkout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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