workspace

package
v0.1.6 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Files

func Files(ctx context.Context, root string) ([]string, error)

Files returns the tracked and untracked, non-ignored files that describe the current Git worktree. Deleted tracked paths are intentionally omitted.

func Root

func Root(ctx context.Context, directory string) (string, error)

Root returns the canonical root of the Git worktree containing directory.

Types

This section is empty.

Jump to

Keyboard shortcuts

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