##// END OF EJS Templates
fncache: add attribute to check whether we're using dotencode...
Raphaël Gomès -
r53068:bd43465a default
parent child Browse files
Show More
@@ -1122,6 +1122,7 class _fncachevfs(vfsmod.proxyvfs):
1122 vfsmod.proxyvfs.__init__(self, vfs)
1122 vfsmod.proxyvfs.__init__(self, vfs)
1123 self.fncache: fncache = fnc
1123 self.fncache: fncache = fnc
1124 self.encode = encode
1124 self.encode = encode
1125 self.uses_dotencode = encode is _pathencode
1125
1126
1126 def __call__(self, path, mode=b'r', *args, **kw):
1127 def __call__(self, path, mode=b'r', *args, **kw):
1127 encoded = self.encode(path)
1128 encoded = self.encode(path)
General Comments 0
You need to be logged in to leave comments. Login now