Skip to main content

copied_row

Function copied_row 

Source
fn copied_row(
    source: &AgentDefinition,
    effective_provider: String,
    fork_name: String,
    fork_slug: String,
    lineage: (bool, &str),
    now: i64,
) -> AgentDefinition
Expand description

The copy’s row before it is inserted: what the source keeps, a fresh id, and the opt-in settings reset. lineage is whether it is a fork, and its label.