@@ -9,7 +9,8 @@ use anyhow::{anyhow, Result};
99use gix:: {
1010 hash:: ObjectId ,
1111 object, objs, odb,
12- odb:: { loose, pack, Write } ,
12+ odb:: { loose, pack} ,
13+ prelude:: Write ,
1314 NestedProgress ,
1415} ;
1516
@@ -96,8 +97,8 @@ enum OutputWriter {
9697 Sink ( odb:: Sink ) ,
9798}
9899
99- impl gix:: odb :: Write for OutputWriter {
100- fn write_buf ( & self , kind : object:: Kind , from : & [ u8 ] ) -> Result < ObjectId , gix:: odb :: write:: Error > {
100+ impl gix:: objs :: Write for OutputWriter {
101+ fn write_buf ( & self , kind : object:: Kind , from : & [ u8 ] ) -> Result < ObjectId , gix:: objs :: write:: Error > {
101102 match self {
102103 OutputWriter :: Loose ( db) => db. write_buf ( kind, from) ,
103104 OutputWriter :: Sink ( db) => db. write_buf ( kind, from) ,
@@ -109,7 +110,7 @@ impl gix::odb::Write for OutputWriter {
109110 kind : object:: Kind ,
110111 size : u64 ,
111112 from : & mut dyn Read ,
112- ) -> Result < ObjectId , gix:: odb :: write:: Error > {
113+ ) -> Result < ObjectId , gix:: objs :: write:: Error > {
113114 match self {
114115 OutputWriter :: Loose ( db) => db. write_stream ( kind, size, from) ,
115116 OutputWriter :: Sink ( db) => db. write_stream ( kind, size, from) ,
0 commit comments