worktree

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcquireTemp

func AcquireTemp(dir string, ref string) (tmpDir string, remove func() error, err error)

func AddWorkTree

func AddWorkTree(srcDir string, ref string, targetDir string) (remove func() error, err error)

func ForceRemoveWorktree

func ForceRemoveWorktree(dir string, worktreeDir string) error

func IndexClean

func IndexClean(dir string) (ok bool, err error)

func IsClean

func IsClean(dir string) (ok bool, err error)

func RemoveWorktree

func RemoveWorktree(dir string, worktreeDir string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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