You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
386 B
20 lines
386 B
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
|
|
}
|