git_remote_prune

Prune tracking refs that are no longer present on remote.

If callbacks are not specified then the callbacks specified to git_remote_connect will be used (if it was called).

extern (C) nothrow @nogc public
int
git_remote_prune

Parameters

remote libgit2.types.git_remote*

the remote to prune

callbacks const(.git_remote_callbacks)*

callbacks to use for this prune

Return Value

Type: int

0 or an error code

Meta