Help us shape the future of Go! Take the 2026 Go Developer Survey

workspace

package
v1.11.5 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

Variables

This section is empty.

Functions

func DefaultPath

func DefaultPath(sessionID string) (string, error)

DefaultPath returns the default workspace path for a session without creating it.

func EnsureDir

func EnsureDir(path string) error

EnsureDir creates the workspace directory if it doesn't exist.

Types

type Context

type Context = internalworkspace.Context

Context represents the filesystem boundary for one agent session.

func New

func New(root string) (*Context, error)

New resolves, cleans, and creates a workspace root.

Jump to

Keyboard shortcuts

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