fix: correct a few stickler errors

This commit is contained in:
Jose Diaz-Gonzalez
2020-11-18 13:24:43 -05:00
parent b44bc686a1
commit f558008574
4 changed files with 21 additions and 2 deletions

View File

@@ -131,7 +131,7 @@ func IsAbsPath(path string) bool {
return strings.HasPrefix(path, "/")
}
// ListFiles lists files within a given path that have a given prefix
// ListFilesWithPrefix lists files within a given path that have a given prefix
func ListFilesWithPrefix(path string, prefix string) []string {
names, err := ioutil.ReadDir(path)
if err != nil {