snix/tvix/store/src/pathinfoservice
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
..
fs feat(tvix/castore/fs): support extended attributes 2024-04-15 09:27:04 +00:00
tests feat(tvix/store): add bigtable pathinfoservice backend 2024-04-09 19:40:14 +00:00
bigtable.rs feat(tvix/*store/bigtable): limit retries connecting to cbtemulator 2024-04-13 12:01:00 +00:00
from_addr.rs feat(tvix/store): add bigtable pathinfoservice backend 2024-04-09 19:40:14 +00:00
grpc.rs feat(tvix/store/pathinfo/grpc): instrument functions 2024-04-12 22:32:37 +00:00
memory.rs chore(tvix/store): Use BoxStream type alias 2024-01-21 19:41:02 +00:00
mod.rs feat(tvix/store): add bigtable pathinfoservice backend 2024-04-09 19:40:14 +00:00
nix_http.rs refactor(tvix/store/pathinfo/nix_http): NixHash to display NARHash 2024-03-18 16:10:05 +00:00
sled.rs chore(tvix/store): Use BoxStream type alias 2024-01-21 19:41:02 +00:00