update scanner comments

This commit is contained in:
sentriz
2019-07-09 21:52:08 +01:00
parent 3eadb54953
commit 5e088f32ca

View File

@@ -226,10 +226,9 @@ func (s *Scanner) callbackPost(fullPath string, info *godirwalk.Dirent) error {
return nil return nil
} }
// decoded converts a string to it's latin equivalent. it // decoded converts a string to it's latin equivalent. it will
// will be used by the model's *UDec fields, and is only set // be used by the model's *UDec fields, and is only set if it
// if it differs from the original. // differs from the original. the fields are used for searching
// the fields are used for searching
func decoded(in string) string { func decoded(in string) string {
result := unidecode.Unidecode(in) result := unidecode.Unidecode(in)
if result == in { if result == in {