Documentation
¶
Overview ¶
Package programmerstxt provides functions specific to linting the programmers.txt configuration files of Arduino programmers platforms. See: https://arduino.github.io/arduino-cli/latest/platform-specification/#programmerstxt
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ProgrammerIDs ¶
func ProgrammerIDs(programmersTxt *properties.Map) []string
ProgrammerIDs returns the list of programmer IDs from the given programmers.txt properties.
func Properties ¶
func Properties(platformPath *paths.Path) (*properties.Map, error)
Properties parses the programmers.txt from the given path and returns the data.
func Validate ¶
func Validate(programmersTxt *properties.Map) map[compliancelevel.Type]schema.ValidationResult
Validate validates programmers.txt data against the JSON schema and returns the result.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.