Project.loadSelections

Loads a project's dub.selections.json and returns it

This function will load dub.selections.json from the path at which pack is located, and returned the resulting SelectedVersions. If no dub.selections.json is found, an empty SelectedVersions is returned.

class Project
package static
loadSelections
(
in NativePath packPath
,)

Parameters

packPath NativePath

Absolute path of the Package to load the selection file from.

Return Value

Always a non-null instance.

Meta