def _is_bad_link(info, base):
 tip = resolved(joinpath(base, dirname(info.name)))
 return _is_bad_path(info.linkname, base=tip)

def _is_bad_link ( info , base ) : tip = resolved ( joinpath ( base , dirname ( info . name ) ) ) return _is_bad_path ( info . linkname , base = tip )
does the file sym- or hard-link to files outside base? .