mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Feat: finish WebDAV adaptation
This commit is contained in:
@@ -183,6 +183,11 @@ func (file *File) GetSize() uint64 {
|
||||
func (file *File) ModTime() time.Time {
|
||||
return file.UpdatedAt
|
||||
}
|
||||
|
||||
func (file *File) IsDir() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (file *File) GetPosition() string {
|
||||
return file.Position
|
||||
}
|
||||
|
||||
@@ -280,3 +280,6 @@ func (folder *Folder) ModTime() time.Time {
|
||||
func (folder *Folder) IsDir() bool {
|
||||
return true
|
||||
}
|
||||
func (folder *Folder) GetPosition() string {
|
||||
return folder.Position
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user