Documentation
¶
Index ¶
- func MustParseTemplate(fsys fs.FS, path string) *template.Template
- type Copy
- func (c *Copy) Desc() string
- func (c *Copy) DoTransfer(vars core.Vars) (stats string, err error)
- func (c *Copy) Exec(vars core.Vars) (changed bool, diff string, notify []core.Handler, err error)
- func (c *Copy) RemotePrep(vars core.Vars) (stats string, err error)
- func (c *Copy) View(vars core.Vars) (changed bool, diff string, notify []core.Handler, err error)
- type Template
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Copy ¶
type Copy struct {
Name string
Src string
Dest string
Mode fs.FileMode
Vars core.Vars
core.Notifier
}
Click to show internal directories.
Click to hide internal directories.