Expand description
Push/pull between VFS and a persistent host workspace directory (session VM staging).
Layout matches super::super::sandbox::export_vfs_to_temp_dir: workspace_parent holds the
leaf directory named after the last segment of vfs_path (same leaf naming as the sandbox export helpers).
Enums§
- VmSync
Error - Errors from workspace sync helpers.
Functions§
- pull_
workspace_ to_ vfs - Merge host workspace tree into the VFS at
vfs_path(add/update only; same semantics assandbox::sync_host_dir_to_vfs). - push_
full - Remove the exported leaf directory (if present), then copy the full VFS subtree at
vfs_pathintoworkspace_parent, and restore ELF execute bits undertarget/. - push_
incremental - For each file under the VFS subtree at
vfs_path, write to the host workspace only when missing or content differs.