MCPcopy Create free account
hub / github.com/53AI/53AIHub / LocalStorage

Struct LocalStorage

api/service/document/processor.go:307–307  ·  view source on GitHub ↗

=================== 存储服务实现 =================== LocalStorage 本地存储实现

Source from the content-addressed store, hash-verified

305
306// LocalStorage 本地存储实现
307type LocalStorage struct{}
308
309func (ls *LocalStorage) SaveFile(file io.Reader, filename string, size int64) (string, error) {
310 // 读取文件内容

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected