(ctx context.Context, sid, path string, args model.SharingListArgs)
| 8 | ) |
| 9 | |
| 10 | func 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 | |
| 19 | func Get(ctx context.Context, sid, path string, args model.SharingListArgs) (*model.Sharing, model.Obj, error) { |
| 20 | sharing, res, err := get(ctx, sid, path, args) |