From 6e113b88364ade12b26c9f01c43608841b9378df Mon Sep 17 00:00:00 2001 From: Ophestra Date: Mon, 11 May 2026 19:44:28 +0900 Subject: internal/pkg: content-based dependency substitution This change introduces a new fast path for FloodArtifact. It is taken when a curing artifact has identical-by-content controlled relevant inputs and are otherwise identical to an already-cured artifact. Signed-off-by: Ophestra --- internal/pkg/file_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/pkg/file_test.go') diff --git a/internal/pkg/file_test.go b/internal/pkg/file_test.go index 187ad7a0..9b326453 100644 --- a/internal/pkg/file_test.go +++ b/internal/pkg/file_test.go @@ -29,6 +29,8 @@ func TestFile(t *testing.T) { "identifier": {Mode: fs.ModeDir | 0700}, "identifier/3376ALA7hIUm2LbzH2fDvRezgzod1eTK_G6XjyOgbM2u-6swvkFaF0BOwSl_juBi": {Mode: fs.ModeSymlink | 0777, Data: []byte("../checksum/vsAhtPNo4waRNOASwrQwcIPTqb3SBuJOXw2G4T1mNmVZM-wrQTRllmgXqcIIoRcX")}, + "substitute": {Mode: fs.ModeDir | 0700}, + "work": {Mode: fs.ModeDir | 0700}, }}, }) -- cgit v1.3.1