Versions in this module Expand all Collapse all v0 v0.20.1 Jul 30, 2019 v0.20.0 Feb 20, 2019 Changes in this version + const DefaultFilePerms + var ErrMissingDest = errors.New("missing destination") + var ErrNoParentDir = errors.New("parent directory is missing") + func AtomicWrite(path string, createDestDirs bool, contents []byte, perms os.FileMode, ...) error + type RenderInput struct + Backup bool + Contents []byte + CreateDestDirs bool + Dry bool + DryStream io.Writer + Path string + Perms os.FileMode + type RenderResult struct + Contents []byte + DidRender bool + WouldRender bool + func Render(i *RenderInput) (*RenderResult, error)