Skip to main content

find_task_path

Function find_task_path 

Source
pub fn find_task_path(base: &Path, id: &str) -> Result<PathBuf>
Expand description

Find the file path for a task by its ID prefix. When multiple files share the same ID prefix (duplicate-ID situation), returns the lexicographically first filename so the on-disk winner is deterministic and matches the winner chosen by load_all.