comAtprotoSyncGetLatestCommit function
Get the current commit CID & revision of the specified repo. Does not require auth.
Implementation
Future<XRPCResponse<SyncGetLatestCommitOutput>> comAtprotoSyncGetLatestCommit({
required String did,
required ServiceContext $ctx,
Map<String, String>? $headers,
Map<String, String>? $unknown,
}) async => await $ctx.get(
ns.comAtprotoSyncGetLatestCommit,
headers: $headers,
parameters: {...?$unknown, 'did': did},
to: const SyncGetLatestCommitOutputConverter().fromJson,
);