git_smart_subtransport_stream

A stream used by the smart transport to read and write data from a subtransport.

This provides a customization point in case you need to support some other communication method.

Members

Variables

free
void function(.git_smart_subtransport_stream* stream) free;

Free the stream

read
int function(.git_smart_subtransport_stream* stream, char* buffer, size_t buf_size, size_t* bytes_read) read;

Read available data from the stream.

subtransport
.git_smart_subtransport* subtransport;

The owning subtransport

write
int function(.git_smart_subtransport_stream* stream, const(char)* buffer, size_t len) write;

Write data to the stream

Meta