extract_module_id

Function extract_module_id 

Source
pub fn extract_module_id(change_id: &str) -> Option<String>
Expand description

Extract module ID from a change ID.

Change IDs follow the pattern NNN-NN_name where NNN is the module ID. Handles various formats:

  • 005-01_my-change -> 005
  • 5-1_whatever -> 005
  • 1-000002 -> 001