mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-29 08:27:06 +00:00
test walk_dir done
This commit is contained in:
@@ -71,8 +71,6 @@ impl<W: AsyncWrite + Unpin> MetacacheWriter<W> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub async fn write_obj(&mut self, obj: &MetaCacheEntry) -> Result<()> {
|
pub async fn write_obj(&mut self, obj: &MetaCacheEntry) -> Result<()> {
|
||||||
println!("write_obj {:?}", &obj);
|
|
||||||
|
|
||||||
self.init().await?;
|
self.init().await?;
|
||||||
|
|
||||||
rmp::encode::write_bool(&mut self.buf, true).map_err(|e| Error::msg(format!("{:?}", e)))?;
|
rmp::encode::write_bool(&mut self.buf, true).map_err(|e| Error::msg(format!("{:?}", e)))?;
|
||||||
|
|||||||
Reference in New Issue
Block a user