git_remote_create_anonymous

Create an anonymous remote

Create a remote with the given url in-memory. You can use this when you have a URL instead of a remote's name.

extern (C) nothrow @nogc
int
git_remote_create_anonymous

Parameters

out_ libgit2_d.types.git_remote**

pointer to the new remote objects

repo libgit2_d.types.git_repository*

the associated repository

url const(char)*

the remote repository's URL

Return Value

Type: int

0 or an error code

Meta