getLatestCommit method
Get the current commit CID & revision of the specified repo. Does not require auth.
https://atprotodart.com/docs/lexicons/com/atproto/sync/getLatestCommit
Implementation
Future<XRPCResponse<GetLatestCommitOutput>> getLatestCommit({
required String did,
Map<String, String>? $unknown,
Map<String, String>? $headers,
GetClient? $client,
}) async =>
await _ctx.get<GetLatestCommitOutput>(
ns.comAtprotoSyncGetLatestCommit,
headers: $headers,
parameters: {
'did': did,
...?$unknown,
},
to: const GetLatestCommitOutputConverter().fromJson,
client: $client,
);