Skip to main content

parse_module_id

Function parse_module_id 

Source
pub fn parse_module_id(input: &str) -> String
Expand description

Parse a module identifier and return the normalized module ID.

Handles various formats:

  • 005 -> "005"
  • 5 -> "005"
  • 005_dev-tooling -> "005"
  • 5_dev-tooling -> "005"