• « rpmexpandnumeric
  • rpminfo »
  • PHP Manual
  • RpmInfo Функції
  • Get target of a symlink

rpmgetsymlink

(PECL rpminfo >= 1.1.0)

rpmgetsymlink — Get target of a symlink

Опис

rpmgetsymlink(string $path, string $name): ?string

Get target of a symlink.

Параметри

path
Path of the RPM file.
name
Name of the symlink file.

Значення, що повертаються

A string with target of the symlink, null on error, or an empty string if not a symlink.