Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultReadmeSpec ¶ added in v0.2.5
DefaultReadmeSpec returns a FileSpec that renders the built-in README template. It is emitted when the legacy AddDefaultReadme flag is set.
func GenerateReadme ¶
GenerateReadme generates a README.md content from template
func MatchesRepo ¶ added in v0.2.5
MatchesRepo reports whether a FileSpec applies to the named repository. An empty Only list matches every repo; otherwise any single glob match (path.Match semantics) is sufficient.
Types ¶
type ReadmeData ¶
ReadmeData holds the data for README template
Click to show internal directories.
Click to hide internal directories.