mirror of
https://github.com/borgbackup/borg.git
synced 2026-07-14 12:34:49 -04:00
rename fuse base class
This commit is contained in:
parent
0b3710be22
commit
d84bbb72ec
2 changed files with 3 additions and 3 deletions
|
|
@ -293,7 +293,7 @@ Type "Yes I am sure" if you understand this and want to continue.\n""")
|
|||
def do_mount(self, args):
|
||||
"""Mount archive or an entire repository as a FUSE fileystem"""
|
||||
try:
|
||||
from attic.fuse import AtticOperations
|
||||
from attic.fuse import FuseOperations
|
||||
except ImportError as e:
|
||||
self.print_error('loading fuse support failed [ImportError: %s]' % str(e))
|
||||
return self.exit_code
|
||||
|
|
@ -308,7 +308,7 @@ Type "Yes I am sure" if you understand this and want to continue.\n""")
|
|||
archive = Archive(repository, key, manifest, args.src.archive)
|
||||
else:
|
||||
archive = None
|
||||
operations = AtticOperations(key, repository, manifest, archive)
|
||||
operations = FuseOperations(key, repository, manifest, archive)
|
||||
self.print_verbose("Mounting filesystem")
|
||||
try:
|
||||
operations.mount(args.mountpoint, args.options, args.foreground)
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ class FuseOperations(llfuse.Operations):
|
|||
"""Export archive as a fuse filesystem
|
||||
"""
|
||||
def __init__(self, key, repository, manifest, archive):
|
||||
super(AtticOperations, self).__init__()
|
||||
super(FuseOperations, self).__init__()
|
||||
self._inode_count = 0
|
||||
self.key = key
|
||||
self.repository = cache_if_remote(repository)
|
||||
|
|
|
|||
Loading…
Reference in a new issue