def realpath(path):
scheme, netloc, path_ = parse(path)<EOL>if scheme == '<STR_LIT:file>' or hdfs_fs.default_is_local():<EOL><INDENT>return unparse(scheme, netloc, os.path.realpath(path_))<EOL><DEDENT>return path<EOL>
Return ``path`` with symlinks resolved.

Currently this function returns non-local paths unchanged.