Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Path is the path to the directory containing the module you want to watch Path string // Socket will enable a unix socket that emits watch result status Socket bool // PlotConfig customizes the plot execution PlotConfig wfapi.PlotExecConfig }
Configuration for the watch command
func (*Config) Run ¶
Run will execute the watch command
Errors:
- warpforge-error-datatoonew -- when module or plot has an unrecognized version number
- warpforge-error-git --
- warpforge-error-io -- when socket path is too long
- warpforge-error-io -- when the module or plot files cannot be read or cannot change directory.
- warpforge-error-serialization -- when the module or plot cannot be parsed
- warpforge-error-unknown -- when changing directories fails
- warpforge-error-unknown -- when context ends for reasons other than being canceled
Click to show internal directories.
Click to hide internal directories.