Location.load

Looks up a package, first in the list of loaded packages, then directly on the file system.

This function allows for lazy loading of packages, without needing to first scan all the available locations (as scan does).

Parameters

name PackageName

The full name of the package to look up

vers Version

The version the package must match

mgr PackageManager

The PackageManager to use for adding packages

Return Value

Type: Package

A Package if one was found, null if none exists.

Meta