pub struct RetiredTarget {
pub dir: &'static str,
pub anchor: &'static str,
pub mcp_path: &'static str,
pub mcp_section: &'static str,
pub hook_file: &'static str,
pub hook_file_keys: &'static [&'static str],
}Expand description
A target directory Mars no longer writes. Sync leaves it and what it recorded there alone;
mars unlink removes what the lock records, which for the config files below is the
entries Mars added, not the files.
Fields§
§dir: &'static str§anchor: &'static strThe anchor on retired-keys.md.
mcp_path: &'static strThe JSON file, from the project root, that held MCP servers, and the object in it.
mcp_section: &'static str§hook_file: &'static strThe file under dir that held hook entries, under a hooks object.
hook_file_keys: &'static [&'static str]Keys Mars wrote beside hooks; a file holding only these is empty and mars unlink
deletes it.
Implementations§
Auto Trait Implementations§
impl Forget for RetiredTarget
impl Freeze for RetiredTarget
impl Move for RetiredTarget
impl RefUnwindSafe for RetiredTarget
impl Send for RetiredTarget
impl Sync for RetiredTarget
impl Unpin for RetiredTarget
impl UnsafeUnpin for RetiredTarget
impl UnwindSafe for RetiredTarget
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