cavm.fs-utils

docroot-path

(docroot-path docroot path)
Join path with docroot, throwing if result is outside of docroot

normalized-path

(normalized-path path)
Normalize a (possibly relative) path with embedded . and ..

relativize

(relativize docroot file)
Return file path relative to docroot.