Function anj_uri_path_outside_base

Function Documentation

static inline bool anj_uri_path_outside_base(const anj_uri_path_t *path, const anj_uri_path_t *base)

Checks whether path lies outside of the subtree rooted at base. Returns true if path is shorter than base or diverges at any component.