MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / CheckCapability

Method CheckCapability

pkg/filemanager/fs/fs.go:57–57  ·  view source on GitHub ↗

CheckCapability checks if the filesystem supports given capability.

(ctx context.Context, uri *URI, opts ...Option)

Source from the content-addressed store, hash-verified

55 Capacity(ctx context.Context, u *ent.User) (*Capacity, error)
56 // CheckCapability checks if the filesystem supports given capability.
57 CheckCapability(ctx context.Context, uri *URI, opts ...Option) error
58 // StaleEntities returns all stale entities of given IDs. If no ID is given, all
59 // potential stale entities will be returned.
60 StaleEntities(ctx context.Context, entities ...int) ([]Entity, error)

Callers 1

ThumbnailMethod · 0.65

Implementers 1

DBFSpkg/filemanager/fs/dbfs/dbfs.go

Calls

no outgoing calls

Tested by

no test coverage detected