def _prefix_root(root, path, trailing=False):
 return normpath(join(_norm_root(root), path.lstrip('/')), trailing=trailing)

def _prefix_root ( root , path , trailing = False ) : return normpath ( join ( _norm_root ( root ) , path . lstrip ( '/' ) ) , trailing = trailing )
prepend a root to a path .