MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / List

Function List

internal/sharing/sharing.go:10–17  ·  view source on GitHub ↗
(ctx context.Context, sid, path string, args model.SharingListArgs)

Source from the content-addressed store, hash-verified

8)
9
10func List(ctx context.Context, sid, path string, args model.SharingListArgs) (*model.Sharing, []model.Obj, error) {
11 sharing, res, err := list(ctx, sid, path, args)
12 if err != nil {
13 log.Errorf("failed list sharing %s/%s: %+v", sid, path, err)
14 return nil, nil, err
15 }
16 return sharing, res, nil
17}
18
19func Get(ctx context.Context, sid, path string, args model.SharingListArgs) (*model.Sharing, model.Obj, error) {
20 sharing, res, err := get(ctx, sid, path, args)

Callers 1

SharingListFunction · 0.92

Calls 1

listFunction · 0.70

Tested by

no test coverage detected