Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddLicense ¶
AddLicense will add license to all files under the root, except path that matches the ignore patterns. The pattern used are regex patterns and match is implemented using golang regexp package. Note: The root can point to a file, but ignore pattern needs to be empty.
func RemoveLicense ¶ added in v0.0.4
RemoveLicense will strip the license from files under the root, except path that matches the ignore patterns. The pattern used are regex patterns and match is implemented using golang regexp package. Note: The root can point to a file, but ignore pattern needs to be empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.