bridge

package
v0.0.0-alpha.14 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bridge

type Bridge struct {
	Workbench
}

func (*Bridge) MakeDir

func (api *Bridge) MakeDir(path string) error

func (*Bridge) ReadDir

func (api *Bridge) ReadDir(path string) ([]entry, error)

func (*Bridge) ReadFile

func (api *Bridge) ReadFile(path string) ([]byte, error)

func (*Bridge) Stat

func (api *Bridge) Stat(path string) (*entry, error)

func (*Bridge) Terminal

func (api *Bridge) Terminal(r rpc.Responder, c *rpc.Call)

func (*Bridge) WriteFile

func (api *Bridge) WriteFile(path string, data []byte) error

type Workbench

type Workbench interface {
	GetFS() fs.FS
}

Jump to

Keyboard shortcuts

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