Name

Pkg::PkgLocation — Get file location of a package in the source

Synopsis

string PkgLocation ( string  package );

Parameters

string package

Return

string

Package Location

Description

if (pkg) { return (full_path) ? YCPString( pkg->location().filename().asString() ) : YCPString( pkg->location().filename().basename() ); } } catch (...) { }

return YCPVoid(); }

Usage

  Pkg::PkgLocation (string package) -> string