git_stream

Every stream must have this struct as its first element, so the API can talk to it. You'd define your stream as

struct my_stream { .git_stream parent; ... }

and fill the functions

Members

Variables

certificate
int function(libgit2_d.types.git_cert**, .git_stream*) certificate;
Undocumented in source.
close
int function(.git_stream*) close;
Undocumented in source.
connect
int function(.git_stream*) connect;
Undocumented in source.
encrypted
int encrypted;
Undocumented in source.
free
void function(.git_stream*) free;
Undocumented in source.
proxy_support
int proxy_support;
Undocumented in source.
read
core.sys.posix.sys.types.ssize_t function(.git_stream*, void*, size_t) read;
Undocumented in source.
set_proxy
int function(.git_stream*, const(libgit2_d.proxy.git_proxy_options)* proxy_opts) set_proxy;
Undocumented in source.
version_
int version_;
Undocumented in source.
write
core.sys.posix.sys.types.ssize_t function(.git_stream*, const(char)*, size_t, int) write;
Undocumented in source.

Meta