about summary refs log tree commit diff
path: root/tvix/store
diff options
context:
space:
mode:
authorBrian Olsen <brian@maven-group.org>2024-07-22T13·44+0200
committerclbot <clbot@tvl.fyi>2024-08-16T16·26+0000
commit3cd57ce4e318a6126322d3298305c822acee08f0 (patch)
tree032e4209638428b731c0c476205274f546fc9cf5 /tvix/store
parent9d2017624136e20b97dbe7cae1d9b11152f0c8d9 (diff)
feat(tvix/glue): Add refscanner pattern and AsyncRead r/8502
This splits the existing ReferenceScanner into a ReferenceScanner and
ReferencePattern as well as adds an AsyncRead implementation that can
do a scan while you read from it.

The reason to split the scanner in two is that generating the pattern
is expensive and when ingesting build results with multiple outputs you
want to do several independant scans that look for the same pattern.

The reader is for scanning files without having to load the entire file
into memory.

Change-Id: I993f5a32308c12d9035840f8e04fe82e8dc1d962
Reviewed-on: https://cl.tvl.fyi/c/depot/+/12052
Autosubmit: Brian Olsen <me@griff.name>
Tested-by: BuildkiteCI
Reviewed-by: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/store')
0 files changed, 0 insertions, 0 deletions