Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRestartSync = errors.New("the sync exited because it was overloaded, restart it")
ErrRestartSync describes a known error case that can be solved by re-starting the command
Functions ¶
Types ¶
type Sync ¶
type Sync struct {
// Init sets whether the sync will do the initial init and then return fast.
Init bool
// LocalDir is an absolute path.
LocalDir string
// RemoteDir is an absolute path.
RemoteDir string
// DisableMetrics disables activity metric pushing.
DisableMetrics bool
Env coder.Environment
Client *coder.Client
}
Sync runs a live sync daemon.
Click to show internal directories.
Click to hide internal directories.