Function raze::api::b2_get_file_info[][src]

pub async fn b2_get_file_info<T: AsRef<str>>(
    client: &Client,
    auth: &B2Auth,
    file_id: T
) -> Result<B2FileInfo, Error>
Expand description

Gets the info the B2 has about the file with the given ID

file_id is the ID obtained when uploading or from b2_list_file_names Note that b2_list_file_names already returns the file info, so if you use that, there is no need to call this

https://www.backblaze.com/b2/docs/b2_get_file_info.html