Added fuse2 mounting

This commit is contained in:
Caleb Gardner
2023-01-17 10:20:11 -06:00
parent 75d2a29319
commit 187da99dd6
5 changed files with 163 additions and 10 deletions
+3
View File
@@ -13,12 +13,15 @@ import (
"github.com/CalebQ42/squashfs/internal/inode"
"github.com/CalebQ42/squashfs/internal/metadata"
"github.com/CalebQ42/squashfs/internal/toreader"
fuse2 "github.com/seaweedfs/fuse"
)
type Reader struct {
*FS
con *fuse.Conn
con2 *fuse2.Conn
mountDone chan struct{}
mount2Done chan struct{}
d decompress.Decompressor
r io.ReaderAt
fragEntries []fragEntry