Logo Paket

Requirements Module

Types and nested modules

Type/Module Description

FrameworkRestriction (Module)

AddFrameworkRestrictionWarnings

BindingRedirectsSettings

ContentCopySettings

CopyToOutputDirectorySettings

FrameworkRestriction (Type)

FrameworkRestrictionAndList

FrameworkRestrictionLiteral

FrameworkRestrictionLiteralI

FrameworkRestrictionP

FrameworkRestrictions

InstallSettings

PackageRequirement

Represents an unresolved package.

PackageRequirementKind

PackageRequirementSource

RemoteFileInstallSettings

RestrictionParseProblem

Functions and values

Function or value Description

addFrameworkRestrictionsToDependencies rawDependencies frameworkGroups

Full Usage: addFrameworkRestrictionsToDependencies rawDependencies frameworkGroups

Parameters:
Returns: (PackageName * 'a * FrameworkRestrictions) list * AddFrameworkRestrictionWarnings[]
Type parameters: 'a (requires equality)
rawDependencies : (PackageName * 'a * ParsedPlatformPath) list
frameworkGroups : ParsedPlatformPath list
Returns: (PackageName * 'a * FrameworkRestrictions) list * AddFrameworkRestrictionWarnings[]

applyRestrictionsToTargets restriction targets

Full Usage: applyRestrictionsToTargets restriction targets

Parameters:
Returns: Set<TargetProfile>

Get all targets that should be considered with the specified restrictions

restriction : FrameworkRestriction
targets : Set<TargetProfile>
Returns: Set<TargetProfile>

filterRestrictions list1 list2

Full Usage: filterRestrictions list1 list2

Parameters:
Returns: FrameworkRestrictions

getExplicitRestriction frameworkRestrictions

Full Usage: getExplicitRestriction frameworkRestrictions

Parameters:
Returns: FrameworkRestriction
frameworkRestrictions : FrameworkRestrictions
Returns: FrameworkRestriction

isTargetMatchingRestrictions (restriction, target)

Full Usage: isTargetMatchingRestrictions (restriction, target)

Parameters:
Returns: bool

Get if a target should be considered with the specified restrictions

restriction : FrameworkRestriction
target : TargetProfile
Returns: bool

parseRestrictions

Full Usage: parseRestrictions

Returns: string -> FrameworkRestriction * RestrictionParseProblem[]

parseRestrictionsLegacy failImmediatly text

Full Usage: parseRestrictionsLegacy failImmediatly text

Parameters:
    failImmediatly : bool
    text : string

Returns: FrameworkRestriction * RestrictionParseProblem[]
failImmediatly : bool
text : string
Returns: FrameworkRestriction * RestrictionParseProblem[]

Type something to start searching.