Skip to content

[Query] Files

github-actions[bot] edited this page Oct 4, 2026 · 1 revision

Generated from 'wiki-query.ts' on 2026-10-04, 14:48:48 UTC (v2.15.9), do not edit directly.

Files Query [overview]

Returns the files matching the given criteria.
This query is requested with the type files.
Run in the REPL: :query @files [role:<r1>,<r2>,...] <code | file://path>

This query returns the files that match the given criteria.

[ { "type": "files" } ]

(This can be shortened to @files when used with the REPL command :query).

Results (prettified and summarized):

Query: files (0ms)
   ╰ Found 0 files\

Show Detailed Results as Json

The analysis ran (including parsing and normalization and the query) within the generation environment.

In general, the JSON contains the Ids of the nodes in question as they are present in the normalized AST or the dataflow graph of flowR. Please consult the Interface wiki page for more information on how to get those.

{"files":{".meta":{},"files":[]},".meta":{}}
Original Code
Dataflow Graph of the R Code

The analysis ran (including parse and normalize, using the r-shell engine) within the generation environment. No signature database is mounted for these generated graphs, so library() calls attach no package exports; base-R names are still qualified via the generated base-package store (e.g. acf as stats::acf). We encountered no unknown side effects during the analysis.

flowchart LR
Loading
Implementation Details

The Files Query is executed by executeFileQuery.

Clone this wiki locally