azure-devops 0.1.0

Idiomatic Rust client for Azure DevOps REST APIs
Documentation
1
2
3
4
5
6
7
8
9
10
use super::super::models::GitBlobRef;
use super::super::RepositoriesClient;
use crate::constants::ApiPath;
use crate::error::Result;

impl RepositoriesClient<'_> {
    pub async fn get_blob(&self, id: &str, sha: &str) -> Result<GitBlobRef> {
        self.http.get(&ApiPath::repository_blob(id, sha), &[]).await
    }
}