mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-14 20:33:59 +02:00
Also ignore Emacs lock & recovery files.
This commit is contained in:
@@ -122,6 +122,10 @@ func ignoreDotFile(filePath string) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
if base[0] == '#' {
|
||||
return true
|
||||
}
|
||||
|
||||
if base[len(base)-1] == '~' {
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user