File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -143,6 +143,11 @@ internal IntPtr GitOdbBackendPointer
143
143
nativeBackend . ReadHeader = BackendEntryPoints . ReadHeaderCallback ;
144
144
}
145
145
146
+ if ( ( supportedOperations & OdbBackendOperations . ReadStream ) != 0 )
147
+ {
148
+ nativeBackend . ReadStream = BackendEntryPoints . ReadStreamCallback ;
149
+ }
150
+
146
151
if ( ( supportedOperations & OdbBackendOperations . Write ) != 0 )
147
152
{
148
153
nativeBackend . Write = BackendEntryPoints . WriteCallback ;
@@ -181,6 +186,7 @@ private static class BackendEntryPoints
181
186
public static GitOdbBackend . read_callback ReadCallback = new GitOdbBackend . read_callback ( Read ) ;
182
187
public static GitOdbBackend . read_prefix_callback ReadPrefixCallback = new GitOdbBackend . read_prefix_callback ( ReadPrefix ) ;
183
188
public static GitOdbBackend . read_header_callback ReadHeaderCallback = new GitOdbBackend . read_header_callback ( ReadHeader ) ;
189
+ public static GitOdbBackend . readstream_callback ReadStreamCallback = new GitOdbBackend . readstream_callback ( ReadStream ) ;
184
190
public static GitOdbBackend . write_callback WriteCallback = new GitOdbBackend . write_callback ( Write ) ;
185
191
public static GitOdbBackend . writestream_callback WriteStreamCallback = new GitOdbBackend . writestream_callback ( WriteStream ) ;
186
192
public static GitOdbBackend . exists_callback ExistsCallback = new GitOdbBackend . exists_callback ( Exists ) ;
You can’t perform that action at this time.
0 commit comments