mirror of
https://github.com/tiennm99/hugoDocs.git
synced 2026-10-13 20:14:58 +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
|
return true
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if base[0] == '#' {
|
||||||
|
return true
|
||||||
|
}
|
||||||
|
|
||||||
if base[len(base)-1] == '~' {
|
if base[len(base)-1] == '~' {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user