tvl-depot/tvix/store/src
Florian Klink 515bfa18fb feat(tvix/castore/fs): support extended attributes
This exposes `user.tvix.castore.{blob,directory}.digest` xattr keys for
files and directories:

```
❯ getfattr -d /tmp/tvix/06jrrv6wwp0nc1m7fr5bgdw012rfzfx2-nano-7.2-info
getfattr: Removing leading '/' from absolute path names
user.tvix.castore.directory.digest="b3:SuYDcUM9RpWcnA40tYB1BtYpR0xw72v3ymhKDQbBfe4="

❯ getfattr -d /tmp/tvix/156a89x10c3kaby9rgf3fi4k0p6r9wl1-etc-shells
getfattr: Removing leading '/' from absolute path names
user.tvix.castore.blob.digest="b3:pZkwZoHN+/VQ8wkaX0wYVXZ0tV/HhtKlSqiaWDK7uRs="
```

It's currently mostly used for debugging, though it might be useful for
tvix-castore-aware syncing programs using the filesystem too.

Change-Id: I26ac3cb9fe51ffbf7f880519f26741549cb5ab6a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11422
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Reviewed-by: Brian Olsen <me@griff.name>
2024-04-15 09:27:04 +00:00
..
bin feat(tvix/castore/fs): support extended attributes 2024-04-15 09:27:04 +00:00
nar refactor(tvix/nix-compat): move nar writer to tokio 2024-04-13 10:09:35 +00:00
pathinfoservice feat(tvix/castore/fs): support extended attributes 2024-04-15 09:27:04 +00:00
proto docs(tvix/nix-compat): rename as_narinfo() to to_narinfo() 2024-04-13 10:03:50 +00:00
tests refactor(tvix/store): drop proto/tests/{utils,grpc_pathinfoservice}.rs 2024-03-28 07:58:10 +00:00
import.rs refactor(tvix/store): generalize PathInfo constructors 2024-04-01 12:30:26 +00:00
lib.rs feat(tvix/store): add rstest-based PathInfoService tests 2024-03-28 07:02:18 +00:00
utils.rs feat(tvix/eval): implement builtins.path 2024-04-01 12:30:26 +00:00