mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Replace 'confirming filename' with 'conforming filename'
This commit is contained in:
parent
b80163c35f
commit
ffb29f5ba4
10 changed files with 22 additions and 22 deletions
|
|
@ -33,8 +33,8 @@ func CleanFileName(s string) string {
|
|||
return invalidRune.ReplaceAllString(s, "_") + ".json"
|
||||
}
|
||||
|
||||
// ConfirmingFileName checks if the given filename is confirming the standard.
|
||||
func ConfirmingFileName(fname string) bool {
|
||||
// ConformingFileName checks if the given filename conforms to the standard.
|
||||
func ConformingFileName(fname string) bool {
|
||||
return fname == CleanFileName(fname)
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue