tvl-depot/tvix/castore/src/directoryservice
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/castore): remove DirectoryService::from_url 2023-11-15 06:43:31 +00:00
mod.rs refactor(tvix/castore): remove DirectoryService::from_url 2023-11-15 06:43:31 +00:00
sled.rs refactor(tvix/*store/sled): make ::new() more generic 2023-12-11 22:46:50 +00:00
traverse.rs refactor(tvix): move castore into tvix-castore crate 2023-09-22 12:51:21 +00:00
utils.rs refactor(tvix): move castore into tvix-castore crate 2023-09-22 12:51:21 +00:00