aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/codesearch/testdata/query-dir-index-root2
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2026-01-19 15:15:15 +0100
committerDmitry Vyukov <dvyukov@google.com>2026-01-20 21:12:57 +0000
commitfb714834adfb0e1e36c4cfc7ca288391cfc18986 (patch)
tree47728e3c13cc37a33478e30e6a0b77f413311b8d /pkg/codesearch/testdata/query-dir-index-root2
parent4dc35ec28780d6a78e8afcf2650d4ada4fcd245c (diff)
pkg/codesearch: add dir-index command
dir-index provides a list of subdirectories and files in the given directory in the source tree.
Diffstat (limited to 'pkg/codesearch/testdata/query-dir-index-root2')
-rw-r--r--pkg/codesearch/testdata/query-dir-index-root210
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/codesearch/testdata/query-dir-index-root2 b/pkg/codesearch/testdata/query-dir-index-root2
new file mode 100644
index 000000000..c82c79609
--- /dev/null
+++ b/pkg/codesearch/testdata/query-dir-index-root2
@@ -0,0 +1,10 @@
+dir-index /mm/..
+
+directory /mm/.. subdirs:
+ - mm
+
+directory /mm/.. files:
+ - source0.c
+ - source0.h
+ - source1.c
+ - source2.c