|
|
@@ -216,7 +216,11 @@ class FSItem(FSObject, Item): |
|
|
|
Item.doUpdate(self) |
|
|
|
|
|
|
|
def ignoreFiles(path, fobj): |
|
|
|
if os.path.basename(path) in _filestoignore: |
|
|
|
bn = os.path.basename(path) |
|
|
|
if bn in _filestoignore: |
|
|
|
return IgnoreFile, None |
|
|
|
elif bn[:2] == '._' and open(path).read(4) == '\x00\x05\x16\x07': |
|
|
|
# AppleDouble encoded Macintosh Resource Fork |
|
|
|
return IgnoreFile, None |
|
|
|
|
|
|
|
return None, None |
|
|
|