8 Commits

Author SHA1 Message Date
Joonas Koivunen
948eeff48f refactor: rename FileMetadata to ipfs_unixfs::Metadata 2020-06-17 17:27:05 +03:00
Joonas Koivunen
769ae5bb07 feat: keep track of file size
it would probably be enough to just give it out on the first iteration,
maybe?
2020-06-17 17:26:39 +03:00
Joonas Koivunen
5ac211f844 feat: filevisit vec caching 2020-06-17 17:24:23 +03:00
Joonas Koivunen
aba46ae299 refactor: cleanup, remove dead code, rename
* cleanup tests
 * cleanup example
 * remove extra lifetime
 * use map instead of match
 * remove extra formatting
 * rename test, check set properties
 * rename Just/Spread to Bytes/Links
2020-06-08 15:03:34 +03:00
Joonas Koivunen
d05ce949b7 refactor: move iterator unwrap into the FileVisit 2020-06-08 15:03:34 +03:00
Joonas Koivunen
e92cf6c85a doc: fill partial sentence, reformat with 1.44 2020-06-08 15:03:34 +03:00
Joonas Koivunen
2d1d62451f refactor: per review comments
* replace loop with while let Some
 * replace empty eprintlns
 * use tryfrom directly
 * remove clippy warnings
2020-06-08 15:03:34 +03:00
Joonas Koivunen
f11611a361 add the blockstore walking back as an example 2020-06-08 15:03:34 +03:00