Expand description
Target sync — copy content from .mars/ canonical store to managed targets.
After apply_plan() writes resolved content to .mars/agents/ and .mars/skills/,
this module copies that content to all configured target directories (.agents/, .claude/, etc.).
All targets are managed outputs — they get copies (not symlinks) of .mars/ content.
Structs§
- Managed
Target - A directory that mars manages — materialized from .mars/.
- Target
Sync Outcome - Result of syncing content to a single target directory.
Functions§
- sync_
managed_ targets - Sync all managed targets from .mars/ canonical store.