diff

package
v1.0.73-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2026 License: MIT Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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