fix(archive): unable to preview (#7843)
* fix(archive): unrecognition zip * feat(archive): add tree for zip meta * fix bug * refactor(archive): meta cache time use Link Expiration first * feat(archive): return sort policy in meta (#2) * refactor * perf(archive): reduce new network requests --------- Co-authored-by: KirCute_ECT <951206789@qq.com>
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
package model
|
||||
|
||||
import "time"
|
||||
|
||||
type ObjTree interface {
|
||||
Obj
|
||||
GetChildren() []ObjTree
|
||||
@ -45,5 +47,7 @@ func (m *ArchiveMetaInfo) GetTree() []ObjTree {
|
||||
|
||||
type ArchiveMetaProvider struct {
|
||||
ArchiveMeta
|
||||
*Sort
|
||||
DriverProviding bool
|
||||
Expiration *time.Duration
|
||||
}
|
||||
|
Reference in New Issue
Block a user