Skip to main content

is_internal_path

Function is_internal_path 

Source
pub fn is_internal_path(path: &str) -> bool
Expand description

Returns whether a decoded, knowledge-base-relative path is in the internal namespace.

The path must have no leading slash. The exact .notedthat segment and its descendants are internal; similarly named or nested segments are not. This predicate does not normalize, decode, or validate paths.