mirror of
https://github.com/9001/copyparty.git
synced 2025-10-03 09:49:29 +02:00
cleanup
This commit is contained in:
parent
b915dfe9a6
commit
2acfab1e3f
3 changed files with 8 additions and 3 deletions
|
@ -719,6 +719,7 @@ class CPPF(Operations):
|
|||
self.dircache.append(cn)
|
||||
self.clean_dircache()
|
||||
|
||||
# import pprint; pprint.pprint(ret)
|
||||
return ret
|
||||
|
||||
def readdir(self, path, fh=None):
|
||||
|
@ -816,7 +817,11 @@ class CPPF(Operations):
|
|||
# dbg("=" + repr(cache_stat))
|
||||
return cache_stat
|
||||
|
||||
info("=ENOENT ({})".format(hexler(path)))
|
||||
fun = info
|
||||
if MACOS and path.split('/')[-1].startswith('._'):
|
||||
fun = dbg
|
||||
|
||||
fun("=ENOENT ({})".format(hexler(path)))
|
||||
raise FuseOSError(errno.ENOENT)
|
||||
|
||||
access = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue