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

rulesource

package
v0.5.4 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2026 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package rulesource resolves a worktree and reads pinned remote Markdown rules.

Index

Constants

This section is empty.

Variables

View Source
var ErrSource = errors.New("invalid rule source")

Functions

func ReadGitHubMarkdown

func ReadGitHubMarkdown(ctx context.Context, spec string) ([]rules.Mandate, string, error)

ReadGitHubMarkdown returns one commit-pinned Markdown tree without installing it.

func RepositoryRoot

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

RepositoryRoot resolves the current worktree root without reading source.

Types

This section is empty.

Jump to

Keyboard shortcuts

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