mirror of
https://github.com/TagStudioDev/TagStudio.git
synced 2026-02-01 23:59:10 +00:00
fix: don't add ._ files to libraries
This commit is contained in:
@@ -82,7 +82,9 @@ class RefreshDirTracker:
|
||||
# Ensure new file isn't in a globally ignored folder
|
||||
skip: bool = False
|
||||
for part in f.parts:
|
||||
if part in GLOBAL_IGNORE_SET:
|
||||
# NOTE: Files starting with "._" are sometimes generated by macOS Finder.
|
||||
# More info: https://lists.apple.com/archives/applescript-users/2006/Jun/msg00180.html
|
||||
if part.startswith("._") or part in GLOBAL_IGNORE_SET:
|
||||
skip = True
|
||||
break
|
||||
if skip:
|
||||
|
||||
Reference in New Issue
Block a user