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

Method GetByIDs

inventory/share.go:37–37  ·  view source on GitHub ↗

GetByIDs returns the shares with given ids.

(ctx context.Context, ids []int)

Source from the content-addressed store, hash-verified

35 TxOperator
36 // GetByIDs returns the shares with given ids.
37 GetByIDs(ctx context.Context, ids []int) ([]*ent.Share, error)
38 // GetByID returns the share with given id.
39 GetByID(ctx context.Context, id int) (*ent.Share, error)
40 // GetByIDUser returns the share with given id and user id.

Callers

nothing calls this directly

Implementers 1

shareClientinventory/share.go

Calls

no outgoing calls

Tested by

no test coverage detected