Skip to content

Commit

Permalink
FIX: multizip archives are now full parsed
Browse files Browse the repository at this point in the history
  • Loading branch information
laaqxdze1k committed Aug 10, 2023
1 parent b0401ec commit e8038e3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,4 @@ immich-go
main.go

dist/
DATA
5 changes: 4 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,7 @@ require (
github.com/ttacon/chalk v0.0.0-20160626202418-22c06c80ed31
)

require golang.org/x/net v0.12.0 // indirect
require (
github.com/yalue/merged_fs v1.2.3 // indirect
golang.org/x/net v0.12.0 // indirect
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd h1:CmH9+J6ZSsIjUK
github.com/rwcarlsen/goexif v0.0.0-20190401172101-9e8deecbddbd/go.mod h1:hPqNNc0+uJM6H+SuU8sEs5K5IQeKccPqeSjfgcKGgPk=
github.com/ttacon/chalk v0.0.0-20160626202418-22c06c80ed31 h1:OXcKh35JaYsGMRzpvFkLv/MEyPuL49CThT1pZ8aSml4=
github.com/ttacon/chalk v0.0.0-20160626202418-22c06c80ed31/go.mod h1:onvgF043R+lC5RZ8IT9rBXDaEDnpnw/Cl+HFiw+v/7Q=
github.com/yalue/merged_fs v1.2.3 h1:lJ32O+ZiVF4h+4SD8e7IfG8+V2Em4LPcT3Z7h2n2TrY=
github.com/yalue/merged_fs v1.2.3/go.mod h1:WqqchfVYQyclV2tnR7wtRhBddzBvLVR83Cjw9BKQw0M=
golang.org/x/net v0.12.0 h1:cfawfvKITfUsFCeJIHJrbSxpeu/E81khclypR0GVT50=
golang.org/x/net v0.12.0/go.mod h1:zEVYFnQC7m/vmpQFELhcD1EWkZlX69l4oqgmer6hfKA=
5 changes: 4 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"strings"

"github.com/google/uuid"
"github.com/yalue/merged_fs"
)

func main() {
Expand Down Expand Up @@ -304,7 +305,9 @@ func (a *Application) OpenFSs() (fs.FS, error) {
fss = append(fss, fsys)
}
}
return assets.NewMergedFS(fss), nil
return merged_fs.MergeMultiple(fss...), nil

// assets.NewMergedFS(fss), nil
}

func (app *Application) DeleteLocalAssets() error {
Expand Down

0 comments on commit e8038e3

Please sign in to comment.