mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 14:16:06 +00:00
Also ignore Emacs lock & recovery files.
This commit is contained in:
1 parent
3a0ab5a3dd
commit
d84f707da1
1 file changed
+4
@@ -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