Skip to main content

plan_thread_drop

Function plan_thread_drop 

Source
pub fn plan_thread_drop(options: &ThreadDropOptions) -> ThreadDropDisposition
Expand description

Pure preflight for heddle thread drop / drop_thread_silent.

Rules (matching CLI):

  1. Missing + current lane + no delete flag → refuse
  2. Missing + delete flag → proceed to delete command
  3. Missing otherwise → not found
  4. Found → drop plan (unmount if virtualized, remove checkout if present, abandon record, strip agents, optionally delete ref)