format_frame

Function format_frame 

Source
pub fn format_frame(pattern: &str, padding: usize, frame: i64) -> String
Expand description

Format frame number into path using pattern and padding. Public function to avoid duplication between Rust Seq and Python PySeq.

  • padding >= 2: replace #### with zero-padded frame (e.g., 0042)
  • padding < 2: replace @ with raw frame number