From 8088ac4199a6e947c38db669c11d4441a9d59581 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 19 Jan 2026 15:15:18 +0100 Subject: pkg/codesearch: add read-file command Just provides full file contents as last resort. --- pkg/codesearch/testdata/query-read-file-existing | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 pkg/codesearch/testdata/query-read-file-existing (limited to 'pkg/codesearch/testdata/query-read-file-existing') diff --git a/pkg/codesearch/testdata/query-read-file-existing b/pkg/codesearch/testdata/query-read-file-existing new file mode 100644 index 000000000..9fc30a164 --- /dev/null +++ b/pkg/codesearch/testdata/query-read-file-existing @@ -0,0 +1,4 @@ +read-file mm/slub.c + +// slub.c contents. +// This file is used in read-file test. -- cgit mrf-deployment