Browse Source

fuse: remove unneeded function definition

code only had 1 caller, so just inline it.
Thomas Waldmann 8 năm trước cách đây
mục cha
commit
d64ccff1c4
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  1. 0 2
      src/borg/fuse.py

+ 0 - 2
src/borg/fuse.py

@@ -173,9 +173,7 @@ class FuseOperations(llfuse.Operations):
         if self.versions and not is_dir:
             parent = self.process_inner(name, parent)
             name = version_name(name, item)
-        self.process_real_leaf(name, item, parent, prefix)
 
-    def process_real_leaf(self, name, item, parent, prefix):
         if 'source' in item and stat.S_ISREG(item.mode):
             inode = self._find_inode(item.source, prefix)
             item = self.cache.get(inode)