pub fn context_with<F: Fs>(
db: &GraphDb<F>,
repo: Option<&Path>,
target: &str,
opts: &ContextOptions,
) -> ContextReportExpand description
Everything known about target.
repo is the working tree the source is quoted from; without one the
GitSync marker’s repo is used, and a file that cannot be read there
simply has no source. Everything else is read from the graph, so the
answer is byte-identical for the same store and the same working tree.
With opts.source clear the working tree is not read at all — not read and
discarded — so the answer is the graph’s and nothing else’s.