rpmgetsymlink
PHP function
Edit on GitHub ✎
(PECL rpminfo >= 1.1.0)
Get target of a symlink
Description
rpmgetsymlink(string $path, string $name): string|null
Get target of a symlink.
Parameters
pathPath of the RPM file.
nameName of the symlink file.
Return Values
A string with target of the symlink, null on error, or an empty string if not a symlink.