aboutsummaryrefslogtreecommitdiffstats
path: root/FuseArchive
diff options
context:
space:
mode:
Diffstat (limited to 'FuseArchive')
-rw-r--r--FuseArchive/ChunkFile.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/FuseArchive/ChunkFile.py b/FuseArchive/ChunkFile.py
index 546e9c0..457fe37 100644
--- a/FuseArchive/ChunkFile.py
+++ b/FuseArchive/ChunkFile.py
@@ -1,4 +1,5 @@
import logging, os, errno, fcntl, fuse, FuseArchive
+import FuseArchive.Storage.ZipFile, FuseArchive.Storage.FileSystem
from binascii import hexlify
from FuseArchive.Serializer import Serializer
@@ -7,7 +8,6 @@ magic_blocksize = 1024 * 128
# Use a tiny block size to debug writes, so you can use a smaller test file
#magic_blocksize = 1024
magic_depth = 5
-gzip_compress_level = 6
chunkstyle = 'fs'
# Memory for dirty blocks, per file (1M)
@@ -32,6 +32,9 @@ def flag2mode(flags):
return m
+load_chunk = FuseArchive.Storage.FileSystem.load_chunk
+save_chunk = FuseArchive.Storage.FileSystem.save_chunk
+
class FuseArchiveStat(fuse.Stat):
def __init__(self, stat):
self.st_mode = stat.st_mode