tvl-depot/tvix/store/src
Florian Klink 42dc18353d feat(tvix/nix-compat): have StorePath accept bytes
The primary constructor for this is now from_bytes, from_string is
simply calling .as_bytes() on the string, passing it along.

The InvalidName error now contains a Vec<u8>, to encode the invalid name
(which might not be a string anymore).

from_absolute_path now accepts a &[u8] (even though we might want to
make this a OSString of some sort).

StorePath::validate_name has been degraded to a pub(crate) function.
It's still used in src/derivation, even though it probably shouldn't at
all - that cleanup is left for cl/8412 though.

Change-Id: I6b4e62a6fa5c4bec13b535279e73444f0b83ad35
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8973
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
2023-07-21 18:04:38 +00:00
..
bin refactor(tvix/store/blobsvc): make from_addr not async 2023-06-14 23:16:09 +00:00
blobservice feat(tvix/store/blobsvc): add more blobservice tests 2023-06-30 12:35:56 +00:00
directoryservice docs(tvix/store): correct some cargo doc warnings 2023-06-19 22:54:46 +00:00
fuse feat(tvix/nix-compat): have StorePath accept bytes 2023-07-21 18:04:38 +00:00
nar docs(tvix/store): correct some cargo doc warnings 2023-06-19 22:54:46 +00:00
pathinfoservice docs(tvix/store): correct some cargo doc warnings 2023-06-19 22:54:46 +00:00
proto feat(tvix/nix-compat): have StorePath accept bytes 2023-07-21 18:04:38 +00:00
tests refactor(tvix/store/pathinfosvc): use Arc<dyn …> 2023-06-12 13:27:05 +00:00
digests.rs refactor(tvix/store/digests): clippy 2023-05-23 12:28:34 +00:00
errors.rs feat(tvix/store/pathinfosvc): add gRPC client 2023-03-27 08:48:41 +00:00
import.rs refactor(tvix/store/blobsvc): drop Result<_,_> around open_write 2023-06-12 12:43:34 +00:00
lib.rs feat(tvix/store): add mount command to entrypoint and fuse mod 2023-06-10 15:33:07 +00:00
store_io.rs refactor(tvix/store/pathinfosvc): use Arc<dyn …> 2023-06-12 13:27:05 +00:00