pub struct SshResolverContext<'a> {
pub project: &'a ProjectConfig,
pub doc_relative: &'a str,
pub file_display: &'a str,
}Expand description
Pure SSH-resolver context for parse_with_ssh_resolver / ensure_session_with_ssh_resolver.
Callers in the orchestration layer pre-compute the project config + canonical
relative path before invoking the pure parse path, so this module never has
to touch std::fs::canonicalize or walk the project root from a &Path.
Fields§
§project: &'a ProjectConfigResolved project config (already loaded from .agent-doc/config.toml).
doc_relative: &'a strPath of the document relative to the project root, forward-slashed
(e.g. tasks/agent-doc/plan.md). Empty string when no project root.
file_display: &'a strDisplay string for the document path — used only for error messages.
Auto Trait Implementations§
impl<'a> Forget for SshResolverContext<'a>
impl<'a> Freeze for SshResolverContext<'a>
impl<'a> RefUnwindSafe for SshResolverContext<'a>
impl<'a> Send for SshResolverContext<'a>
impl<'a> Sync for SshResolverContext<'a>
impl<'a> Unpin for SshResolverContext<'a>
impl<'a> UnsafeUnpin for SshResolverContext<'a>
impl<'a> UnwindSafe for SshResolverContext<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more