MCPcopy Create free account
hub / github.com/libgit2/git2go / smart_subtransport_stream_read_callback

Function smart_subtransport_stream_read_callback

wrapper.c:593–607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

591}
592
593static int smart_subtransport_stream_read_callback(
594 git_smart_subtransport_stream *stream,
595 char *buffer,
596 size_t buf_size,
597 size_t *bytes_read)
598{
599 char *error_message = NULL;
600 const int ret = smartSubtransportStreamReadCallback(
601 &error_message,
602 stream,
603 buffer,
604 buf_size,
605 bytes_read);
606 return set_callback_error(error_message, ret);
607}
608
609static int smart_subtransport_stream_write_callback(
610 git_smart_subtransport_stream *stream,

Callers

nothing calls this directly

Calls 2

set_callback_errorFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…