Skip to main content

edit_check_session_op

Function edit_check_session_op 

Source
pub fn edit_check_session_op(
    workspace: &Workspace,
    db_path: &Path,
    conn: &Connection,
    session_base: Option<&str>,
) -> Result<EditCheck, OpError>
Expand description

Checks the working tree against the base a session recorded, else HEAD. A recorded base that git no longer has counts as none.