Răsfoiți Sursa

rename fuse2 -> hlfuse

fuse2 was a bit misleading. it meant "our 2nd fuse implementation",
but could be misunderstood to refer to fuse v2.

hlfuse.py now means highlevel fuse, as opposed to the lowlevel fuse in fuse.py.
Thomas Waldmann 2 săptămâni în urmă
părinte
comite
cc18e3f171
3 a modificat fișierele cu 2 adăugiri și 2 ștergeri
  1. 1 1
      src/borg/archiver/mount_cmds.py
  2. 1 1
      src/borg/fuse_impl.py
  3. 0 0
      src/borg/hlfuse.py

+ 1 - 1
src/borg/archiver/mount_cmds.py

@@ -38,7 +38,7 @@ class MountMixIn:
 
         if has_mfusepy:
             # Use mfusepy implementation
-            from ..fuse2 import borgfs
+            from ..hlfuse import borgfs
 
             operations = borgfs(manifest, args, repository)
             logger.info("Mounting filesystem")

+ 1 - 1
src/borg/fuse_impl.py

@@ -34,7 +34,7 @@ for FUSE_IMPL in BORG_FUSE_IMPL.split(","):
             break
     elif FUSE_IMPL == "mfusepy":
         try:
-            from .fuse2 import mfuse  # noqa
+            from .hlfuse import mfuse  # noqa
         except ImportError:
             pass
         else:

+ 0 - 0
src/borg/fuse2.py → src/borg/hlfuse.py