snix/tvix/store/src/pathinfoservice
Florian Klink ccaf10b4a6 refactor(tvix/*store/sled): make ::new() more generic
We don't really require the Path to be a PathBuf, we don't even require
it to be a Path, we only need it to be AsRef<Path>>.

This removes some conversion in the from_addr cases, which can just
reuse `url.path()` (a `&str`).

Change-Id: I38d536dbaf0b44421e41f211a9ad2b13605179e9
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10258
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
2023-12-11 22:46:50 +00:00
..
from_addr.rs refactor(tvix/*store/sled): make ::new() more generic 2023-12-11 22:46:50 +00:00
grpc.rs refactor(tvix/castore/tonic): make async, support wait-connect=? 2023-11-15 06:43:31 +00:00
memory.rs refactor(tvix/store/pathinfosvc): inline MemoryPathInfoSvc::from_url 2023-11-15 06:43:31 +00:00
mod.rs feat(tvix/store/pathinfoservice): implement NixHTTPPathInfoService 2023-11-19 13:19:24 +00:00
nix_http.rs feat(tvix/store/pathinfosvc): add signature verification 2023-11-28 16:08:59 +00:00
sled.rs refactor(tvix/*store/sled): make ::new() more generic 2023-12-11 22:46:50 +00:00