changeset

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KindWorkingTree = "working-tree"
	KindPaths       = "paths"
	KindFull        = "full"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Changeset

type Changeset struct {
	Kind  string
	Files []string
	Diff  string
}

func Full

func Full(ctx context.Context, repoPath string) (Changeset, error)

func Paths

func Paths(ctx context.Context, repoPath string, paths []string) (Changeset, error)

func WorkingTree

func WorkingTree(ctx context.Context, repoPath string) (Changeset, error)

Jump to

Keyboard shortcuts

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