pub async fn delete_tag(&self, repo_name: &str, tag_name: &str) -> Result<()> {
        let path = format!("/repositories/{}/tags/{}", repo_name, tag_name);
        let resp = self.build_request(Method::DELETE, path).send().await?;
        if resp.status().eq(&reqwest::StatusCode::OK) {
            Ok(())
        } else {
            Err(anyhow!("failed to delete tag: {}", resp.text().await?))
        }
    }
/// Delete a tag in a repository.
Delete a tag in a repository.
Delete a tag in a repository .
pub async fn delete_tag(&self, repo_name: &str, tag_name: &str) -> Result<()> {
        let path = format!("/repositories/{}/tags/{}", repo_name, tag_name);
        let resp = self.build_request(Method::DELETE, path).send().await?;
        if resp.status().eq(&reqwest::StatusCode::OK) {
            Ok(())
        } else {
            Err(anyhow!("failed to delete tag: {}", resp.text().await?))
        }
    }
pub async fn delete_tag ( & self , repo_name : & str , tag_name : & str ) -> Result < ( ) > { let path = format ! ( " " repo_name tag_name ) ; let resp = self . build_request ( Method :: DELETE , path ) . send ( ) . await ? ; if resp . status ( ) . eq ( & reqwest :: StatusCode :: OK ) { Ok ( ( ) ) } else { Err ( anyhow ! ( " " resp text ( ) await ) ) } }
Delete a tag in a repository.
Delete a tag in a repository .
&self
repo_name
&str
tag_name
&str
&self
repo_name
&str
tag_name
&str