comAtprotoRepoImportRepo function
Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.
Implementation
Future<XRPCResponse<EmptyData>> comAtprotoRepoImportRepo({
required Uint8List bytes,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $parameters,
}) async => await $ctx.post(
ns.comAtprotoRepoImportRepo,
headers: {'Content-type': 'application/vnd.ipld.car', ...?$headers},
parameters: $parameters,
body: bytes,
);