git_reference_delete

Delete an existing reference.

This method works for both direct and symbolic references. The reference will be immediately removed on disk but the memory will not be freed. Callers must call git_reference_free.

This function will return an error if the reference has changed from the time it was looked up.

@param ref_ The reference to remove @return 0, git_error_code.GIT_EMODIFIED or an error code

extern (C) nothrow @nogc
int
git_reference_delete

Meta