use super::super::RepositoriesClient;
use crate::constants::ApiPath;
use crate::error::Result;
use serde_json;
impl RepositoriesClient<'_> {
pub async fn delete(&self, id: &str) -> Result<()> {
self.http
.delete::<serde_json::Value>(&ApiPath::repository(id), &[])
.await
.map(|_| ())
}
}