Skip to main content

Module fork_history

Module fork_history 

Source
Expand description

copyforkhistory: a fork’s pane starts with its parent’s history (agent_session::fork_history). Forks only; see “Fork, spawn and worker” in mod.rs.

Functions§

copy_fork_history 🔒
Refuses anything but a real fork of source_id (its parent_id, and a branch label, which only forkagentdefinition sets) on a provider that names its sessions.
older_session 🔒
A fork of an older session: the parent’s history up to where that session ends, found in the agent’s record. A session the record doesn’t know has no history to copy, and the answer is reason, what the current zone said.
register 🔒