This is easier to browse and should make it more powerful for agent exploration since they can rely on newlines when grepping etc
+1
-1
src/fs.rs
+1
-1
src/fs.rs
···
473
473
let mut repos = self.repos.lock().unwrap();
474
474
let repo = &mut repos[&did];
475
475
if let Ok(Some(val)) = self.rt.block_on(repo.get_raw::<ipld_core::ipld::Ipld>(&key)) {
476
-
reply.data(&serde_json::to_string(&val).unwrap().as_bytes()[offset as usize..]);
476
+
reply.data(&serde_json::to_string_pretty(&val).unwrap().as_bytes()[offset as usize..]);
477
477
return;
478
478
}
479
479
} else {
History
1 round
1 comment
danabra.mov
submitted
#0
expand 1 comment
pull request successfully merged
interesting, this was done first in this PR (by you!), but subsequently undone in this commit.