Function get_process_folder_name

Source
pub fn get_process_folder_name(p: &Process) -> String
Expand description

Apply the Library folder naming convention introduced in stanhope 0.56.0

The naming convention for a process folder within a library is:

Process Library/NUMBER - TITLE/

For reference, this breaks the previous convention (prior to 0.56.0) which was

Process Library/NUMBER/

The reason for this breaking change is the quality-of-life for users who can’t memorize everything by document number alone

Note: the “TITLE” string is sanitized to replace illegal characers with underscores (“_”). Some “illegal” characers might be allowed in file systems, but this function takes a conservative approach to string sanitization. For this purpose, illegal characters include /:*?“<>|#%&+{}