MCPcopy Index your code
hub / github.com/TruthHun/DocHub / GetImageFromCloudStore

Function GetImageFromCloudStore

models/CloudStoreModel.go:246–252  ·  view source on GitHub ↗
(picture string, ext ...string)

Source from the content-addressed store, hash-verified

244}
245
246func GetImageFromCloudStore(picture string, ext ...string) (link string) {
247 cs, err := NewCloudStore(false)
248 if err != nil {
249 helper.Logger.Error(err.Error())
250 }
251 return cs.getImageFromCloudStore(picture, ext...)
252}
253
254//设置默认图片
255//@param picture 图片文件或者图片文件md5等

Callers

nothing calls this directly

Calls 2

NewCloudStoreFunction · 0.85

Tested by

no test coverage detected