workspace

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Delete

func Delete(name string) error

func EnsureWorkspacesDir

func EnsureWorkspacesDir() (string, error)

func GetWorkspacesDir

func GetWorkspacesDir() (string, error)

func SyncFromRemote

func SyncFromRemote(remoteUser, remoteHost, remotePath, workspacePath string) error

SyncFromRemote syncs from a remote host to a local workspace using rsync

func SyncToRemote

func SyncToRemote(workspacePath, remoteUser, remoteHost, remotePath string) error

SyncToRemote syncs a local workspace to a remote host using rsync

Types

type Workspace

type Workspace struct {
	Name string
	Path string
}

func Create

func Create(name string) (*Workspace, error)

func Get

func Get(name string) (*Workspace, error)

func List

func List() ([]*Workspace, error)

Jump to

Keyboard shortcuts

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