Skip to main content

entry_document_name

Function entry_document_name 

Source
pub fn entry_document_name(entry: &str) -> String
Expand description

The short document name shown in reports and used for download filenames — an entry path’s basename without its directory or extension (e.g. /data/…/0811.0417/0811.0417.zip0811.0417). Falls back to the trimmed entry when the path doesn’t match the …/name.ext shape.