govmenv

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Environment

type Environment struct {
	// contains filtered or unexported fields
}

func New

func New(projectRoot string, opts *sandboxenv.GovmOptions) *Environment

func (*Environment) CloseSession

func (e *Environment) CloseSession(ctx context.Context, ps *sandboxenv.PreparedSession) error

func (*Environment) EditFile

func (*Environment) Glob

func (e *Environment) Glob(ctx context.Context, ps *sandboxenv.PreparedSession, pattern string) ([]string, error)

func (*Environment) Grep

func (*Environment) PrepareSession

func (*Environment) ReadFile

func (e *Environment) ReadFile(_ context.Context, ps *sandboxenv.PreparedSession, path string) ([]byte, error)

func (*Environment) WriteFile

func (e *Environment) WriteFile(_ context.Context, ps *sandboxenv.PreparedSession, path string, data []byte) error

Jump to

Keyboard shortcuts

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