MCPcopy Create free account
hub / github.com/krau/SaveAny-Bot / OpenFile

Method OpenFile

storage/storage.go:43–43  ·  view source on GitHub ↗
(ctx context.Context, filePath string)

Source from the content-addressed store, hash-verified

41type StorageReadable interface {
42 Storage
43 OpenFile(ctx context.Context, filePath string) (io.ReadCloser, int64, error)
44}
45
46var Storages = make(map[string]Storage)

Callers 1

processElementMethod · 0.65

Implementers 4

Rclonestorage/rclone/rclone.go
Webdavstorage/webdav/webdav.go
Localstorage/local/local.go
Aliststorage/alist/alist.go

Calls

no outgoing calls

Tested by

no test coverage detected