diff

package
v1.0.56 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrFileAtRevisionMissing = errors.New("file missing at revision")

Functions

func ChangedFiles

func ChangedFiles(ctx context.Context, repo, from string) ([]string, error)

func ChangedFilesIncludingWorktree

func ChangedFilesIncludingWorktree(ctx context.Context, repo, from string) ([]string, error)

func ChangedUnder

func ChangedUnder(files map[string]bool, prefix string) bool

func FileAtRevision

func FileAtRevision(ctx context.Context, repo, rev, path string) ([]byte, error)

Types

type Scope

type Scope struct {
	Global    bool
	AllSkills map[string]bool
	Files     map[string]bool
}

func FromChangedFiles

func FromChangedFiles(files []string) Scope

Jump to

Keyboard shortcuts

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