For example, I would expect the following to output "c/" and "zarr.json".
|
let mut dir = store.list_dir("array/").await?.try_collect::<Vec<_>>().await?; |
|
dir.sort(); |
|
assert_eq!(dir, vec!["c".to_string(), "zarr.json".to_string()]); |
Also, consider outputting a struct holding keys/prefixes in separate Vecs instead.
For example, I would expect the following to output "c/" and "zarr.json".
icechunk/icechunk/src/zarr.rs
Lines 2073 to 2075 in d2cced7
Also, consider outputting a struct holding keys/prefixes in separate
Vecs instead.