Skip to main content

within

Function within 

Source
fn within(bind: &WritableBind, lexical: &str) -> Option<(usize, String)>
Expand description

What lexical (collapsed, absolute) is inside bind, if it is: as the container names it (/workspace/a.png; a container’s paths are case-sensitive) or as the host does (the folder’s own path, which a relative path of the message is resolved against). Returns how long the match is, so the deepest folder wins, and the rest of the path.