🚧 aliyundrive webdav write

This commit is contained in:
微凉
2021-12-06 17:49:20 +08:00
parent 1779617cb9
commit 28998d6f8c
11 changed files with 278 additions and 43 deletions

View File

@ -3,11 +3,11 @@ package model
import "io"
type FileStream struct {
File io.ReadCloser
Size uint64
Path string
Name string
MIMEType string
File io.ReadCloser
Size uint64
ParentPath string
Name string
MIMEType string
}
func (file FileStream) Read(p []byte) (n int, err error) {
@ -30,6 +30,6 @@ func (file FileStream) GetFileName() string {
return file.Name
}
func (file FileStream) GetPath() string {
return file.Path
func (file FileStream) GetParentPath() string {
return file.ParentPath
}