cavm.fs-utils

normalized-path

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

relativize

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