azure_devops/repositories/methods/get_blob.rs
1use super::super::models::GitBlobRef;
2use super::super::RepositoriesClient;
3use crate::constants::ApiPath;
4use crate::error::Result;
5
6impl RepositoriesClient<'_> {
7 pub async fn get_blob(&self, id: &str, sha: &str) -> Result<GitBlobRef> {
8 self.http.get(&ApiPath::repository_blob(id, sha), &[]).await
9 }
10}