mirror of
https://github.com/halejohn/Cloudreve.git
synced 2026-01-26 09:34:57 +08:00
Modify: re-organize structure of filesystem
This commit is contained in:
19
pkg/filesystem/image.go
Normal file
19
pkg/filesystem/image.go
Normal file
@@ -0,0 +1,19 @@
|
||||
package filesystem
|
||||
|
||||
import (
|
||||
"context"
|
||||
model "github.com/HFO4/cloudreve/models"
|
||||
)
|
||||
|
||||
/* ===============
|
||||
图像处理相关
|
||||
===============
|
||||
*/
|
||||
|
||||
// HandledExtension 可以生成缩略图的文件扩展名
|
||||
var HandledExtension = []string{}
|
||||
|
||||
// GenerateThumbnail 尝试为文件生成缩略图
|
||||
func (fs *FileSystem) GenerateThumbnail(ctx context.Context, file *model.File) {
|
||||
// TODO
|
||||
}
|
||||
Reference in New Issue
Block a user