Documentation ¶
Index ¶
Constants ¶
View Source
const FileTag = ":file"
FileTag indicates the link should "use" the input file as source
View Source
const SingleFileTag = ":single"
SingleFileTag is a magic key indicating that a directory is actually a single file
Variables ¶
View Source
var ErrBadJsonSchema = fmt.Errorf("json schema is not valid")
ErrBadJsonSchema indicates json schema is invalid
View Source
var ErrEmptySchema = fmt.Errorf("schema does not create any files")
ErrEmptySchema indicates a schema is empty
View Source
var ErrFileValidationFailed = fmt.Errorf("file failed schema validation")
ErrFileValidationFailed indicates dag schema validation failed
View Source
var ErrLinkOrderNotSolvable = fmt.Errorf("link order is not solvable")
ErrLinkOrderNotSolvable
View Source
var ErrMissingJsonSchema = fmt.Errorf("json mill requires a json schema")
ErrMissingJsonSchema indicates json schema is missing
View Source
var ErrSchemaInvalidMill = fmt.Errorf("schema contains an invalid mill")
ErrSchemaInvalidMill indicates a schema has an invalid mill entry
Functions ¶
func LinkByName ¶
LinkByName finds a link w/ one of the given names in the provided list
func ValidateMill ¶
ValidateMill is false if mill is not one of the built in tags
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.