Cross-Package API Call Identification
JustGod
Identify the Calling Package
When a package calls a function from another package (via
Package.Export
), it would be useful to have access to the name
or path
of the calling package from within the called function like (Package.GetName
).Use Case:
Allow a package to behave differently depending on which package is requesting the functionality, or implement security / access control systems.
Example desired behavior: