Open mskarbek opened 5 years ago
Hi @mskarbek,
This is a case we haven't needed yet (nested datasets) so we haven't implemented this.
We'd be happy to a take a PR that implements this functionality if you'd like to add it.
OK, I'll try but as I said I just began playing with Rust. ;)
Quite possibly I don't understand something, I have just begun my Rust adventure ;) and right away started playing with libraries that are touching filesystems but this seems to be straightforward yet does not work as I imagine it should.
Simple code:
Result:
Expected:
Used:
Interestingly I am able to access not listed datasets by calling
dataset_by_name()
for examplelibzfs.dataset_by_name("d1226526151549b6a14a18c6217f17bf/home/core").unwrap()
works fine and returns correct data.