resolve_symlink# tollan.utils.file.resolve_symlink(p: str | Path, n_iter_max: int | None = None, match_parent: Path | None = None) → Path[source]# Resolve symlink chain to target path. Parameters: p (str | Path) – Path to resolve (may be symlink) n_iter_max (int, optional) – Maximum number of symlink resolution iterations match_parent (Path, optional) – Stop resolution when parent matches this path Returns: Resolved target path Return type: Path Raises: ValueError – If maximum iteration count exceeded