tvl-depot/tvix/store/src
Florian Klink 96b8b1a205 refactor(tvix/store/pathinfo/memory): tokio RwLock, improve list()
We don't want to use the std::sync::RwLock here, as it blocks.

This also means we don't need to deal with the error cases anymore.

The list() implementation is updated to use try_stream, which means we
can now avoid collecting everything into a Vec before returning from it.

Change-Id: I9057dcc410dc553e6b1be3f20d5ee830569e8218
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11611
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
2024-05-11 15:07:31 +00:00
..
bin refactor(tvix/store): drop calculate_nar from PathInfoService 2024-05-11 13:33:59 +00:00
nar refactor(tvix/store): drop calculate_nar from PathInfoService 2024-05-11 13:33:59 +00:00
pathinfoservice refactor(tvix/store/pathinfo/memory): tokio RwLock, improve list() 2024-05-11 15:07:31 +00:00
proto refactor(tvix/store): drop calculate_nar from PathInfoService 2024-05-11 13:33:59 +00:00
tests chore(tvix/store): migrate import.rs and tests/pathinfo.rs to rstest 2024-04-19 19:22:10 +00:00
import.rs refactor(tvix/store): drop calculate_nar from PathInfoService 2024-05-11 13:33:59 +00:00
lib.rs feat(tvix/store): add rstest-based PathInfoService tests 2024-03-28 07:02:18 +00:00
utils.rs refactor(tvix/store): drop calculate_nar from PathInfoService 2024-05-11 13:33:59 +00:00