(
self,
strategy: InContainerMountStrategy,
session: BaseSandboxSession,
dest: Path,
base_dir: Path,
)
| 516 | _ = strategy |
| 517 | |
| 518 | async def activate( |
| 519 | self, |
| 520 | strategy: InContainerMountStrategy, |
| 521 | session: BaseSandboxSession, |
| 522 | dest: Path, |
| 523 | base_dir: Path, |
| 524 | ) -> list[MaterializedFile]: |
| 525 | _ = (strategy, base_dir) |
| 526 | mount_path = mount._resolve_mount_path(session, dest) |
| 527 | host_path = cast(_HostBackedDockerSession, session)._host_path(mount_path) |
| 528 | host_path.mkdir(parents=True, exist_ok=True) |
| 529 | mount._events.append(("mount", mount_path.as_posix())) |
| 530 | if mount.remount_marker is not None: |
| 531 | (host_path / mount.remount_marker).write_text("remounted", encoding="utf-8") |
| 532 | return [] |
| 533 | |
| 534 | async def deactivate( |
| 535 | self, |
nothing calls this directly
no test coverage detected