Remove an unused function

This commit is contained in:
lhchavez 2016-12-23 19:55:17 -08:00
parent 04038d3378
commit f783fb1d27
1 changed files with 0 additions and 8 deletions

8
odb.go
View File

@ -371,14 +371,6 @@ func (stream *OdbWriteStream) Free() {
C.git_odb_stream_free(stream.ptr) C.git_odb_stream_free(stream.ptr)
} }
func odbWritepackTransferProgress(_stats *C.git_transfer_progress, ptr unsafe.Pointer) C.int {
callback, ok := pointerHandles.Get(ptr).(TransferProgressCallback)
if !ok {
return 0
}
return C.int(callback(newTransferProgressFromC(_stats)))
}
// OdbWritepack is a stream to write a packfile to the ODB. // OdbWritepack is a stream to write a packfile to the ODB.
type OdbWritepack struct { type OdbWritepack struct {
ptr *C.git_odb_writepack ptr *C.git_odb_writepack