feat(archive): archive manage (#7817)
* feat(archive): archive management * fix(ftp-server): remove duplicate ReadAtSeeker realization * fix(archive): bad seeking of SeekableStream * fix(archive): split internal and driver extraction api * feat(archive): patch * fix(shutdown): clear decompress upload tasks * chore * feat(archive): support .iso format * chore
This commit is contained in:
@ -48,6 +48,33 @@ type FsOtherArgs struct {
|
||||
Method string `json:"method" form:"method"`
|
||||
Data interface{} `json:"data" form:"data"`
|
||||
}
|
||||
|
||||
type ArchiveArgs struct {
|
||||
Password string
|
||||
LinkArgs
|
||||
}
|
||||
|
||||
type ArchiveInnerArgs struct {
|
||||
ArchiveArgs
|
||||
InnerPath string
|
||||
}
|
||||
|
||||
type ArchiveMetaArgs struct {
|
||||
ArchiveArgs
|
||||
Refresh bool
|
||||
}
|
||||
|
||||
type ArchiveListArgs struct {
|
||||
ArchiveInnerArgs
|
||||
Refresh bool
|
||||
}
|
||||
|
||||
type ArchiveDecompressArgs struct {
|
||||
ArchiveInnerArgs
|
||||
CacheFull bool
|
||||
PutIntoNewDir bool
|
||||
}
|
||||
|
||||
type RangeReadCloserIF interface {
|
||||
RangeRead(ctx context.Context, httpRange http_range.Range) (io.ReadCloser, error)
|
||||
utils.ClosersIF
|
||||
|
Reference in New Issue
Block a user