Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type File ¶
type File struct { // Source is where on the filesystem the original file (in the case of a rewrite) // or where the generated file should be overlaid into. Source paths.FS // Contents are the file contents of the overlaid file. Contents []byte // If set, overrides Contents and uses the dest directly instead. Dest paths.FS }
File describes a file to generate or rewrite.
Click to show internal directories.
Click to hide internal directories.