Skip to main content

caller_context

Function caller_context 

Source
pub(crate) fn caller_context(
    ws: &Workspace,
    caller: &SessionSlot,
) -> Option<CallerContext>
Expand description

Resolve a caller’s project context: the project the caller’s slot names, when list_projects still declares it. A caller whose slot names no declared project resolves to nothing (a project dropped from forge.toml since the session spawned).