Update libraries

This commit is contained in:
Caleb Gardner
2024-07-17 09:34:36 -05:00
parent 842800fedb
commit 6f20672f05
4 changed files with 22 additions and 28 deletions
+3 -3
View File
@@ -20,7 +20,7 @@ type Fuse2Mount struct {
}
func NewFuse2Mount(r *squashfs.Reader) *Mount {
return NewMountFromLow(r.Low)
return NewMountFromLow(&r.Low)
}
func NewFuse2MountFromLow(r *squashfslow.Reader) *Mount {
@@ -68,13 +68,13 @@ type squashFuse2 struct {
func (s squashFuse2) Root() (fs.Node, error) {
return fileNode2{
FileBase: &s.r.Root.FileBase,
FileBase: s.r.Root.FileBase,
r: s.r,
}, nil
}
type fileNode2 struct {
*squashfslow.FileBase
squashfslow.FileBase
r *squashfslow.Reader
}