cd

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base

func Base(ctx context.Context, d deps.Deps, in BaseInput) error

func CD

func CD(ctx context.Context, d deps.Deps, in CDInput) error

func EmitCD

func EmitCD(d deps.Deps, path string)

func MaybeWarnStaleWrapper

func MaybeWarnStaleWrapper(d deps.Deps, hasAgentCommand bool)

Types

type BaseInput

type BaseInput struct {
	// Cwd overrides os.Getwd for testing.
	Cwd string
}

type CDInput

type CDInput struct {
	Branch string
}

Jump to

Keyboard shortcuts

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