Skip to main content

delete_ref

Function delete_ref 

Source
pub fn delete_ref(git_dir: &Path, refname: &str) -> Result<()>
Expand description

Delete a ref.

Dispatches to the reftable backend when extensions.refStorage = reftable.

§Errors

Returns Error::Io for errors other than “not found”.