Add README, .gitignore, and refactor common detection constants

This commit is contained in:
Evan Hosinski committed 2025-10-10 16:20:55 -04:00
1 parent e2015b3df2
commit f48178f450
7 files changed
+764 -92

No files matched your search

@@ -73,8 +73,8 @@ func searchDirectory(dir string, resultChan chan<- string) {
return nil
}
// Check if the file path ends with any CommonImageEnds
for _, imageEnd := range common.CommonImageEnds {
// Check if the file path ends with any CommonImageSuffixes
for _, imageEnd := range common.CommonImageSuffixes {
// Normalize path separators and make case-insensitive comparison
normalizedPath := strings.ToLower(filepath.ToSlash(path))
normalizedImageEnd := strings.ToLower(filepath.ToSlash(imageEnd))