shrike 0.1.1

AT Protocol library for Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by lexgen. DO NOT EDIT.

/// RepoImportRepo — Import a repo in the form of a CAR file. Requires Content-Length HTTP header to be set.
pub async fn repo_import_repo(
    client: &crate::xrpc::Client,
    body: Vec<u8>,
    content_type: &str,
) -> Result<(), crate::xrpc::Error> {
    let _ = client
        .procedure_raw("com.atproto.repo.importRepo", body, content_type)
        .await?;
    Ok(())
}