Config Type
Record fields
Record Field | Description |
Full Usage:
ConfigFilePath
Field type: string
|
|
|
|
Full Usage:
PackageCacheFolder
Field type: string
|
|
|
|
Static members
Static member | Description |
Full Usage:
Config.create (packageIndex, indexLastUpdated, packageCacheFolder, configFilePath)
Parameters:
ValidationPackageIndex[]
indexLastUpdated : DateTimeOffset
packageCacheFolder : string
configFilePath : string
Returns: Config
|
|
Full Usage:
Config.exists ?Path
Parameters:
string
Returns: bool
|
|
Full Usage:
Config.get (?Path, ?CacheFolder, ?Token)
Parameters:
string
?CacheFolder : string
?Token : string
Returns: Config
|
|
Full Usage:
Config.getIndexedPackageByNameAndVersion packageName semverString config
Parameters:
string
semverString : string
config : Config
Returns: ValidationPackageIndex
|
|
Full Usage:
Config.getIndexedPackagesByName packageName config
Parameters:
string
config : Config
Returns: ValidationPackageIndex[]
|
|
Full Usage:
Config.getLatestPackage packageName config
Parameters:
string
config : Config
Returns: ValidationPackageIndex
|
|
Full Usage:
Config.indexContainsPackage packageName semverString config
Parameters:
string
semverString : string
config : Config
Returns: bool
|
|
Full Usage:
Config.indexContainsPackages packageName config
Parameters:
string
config : Config
Returns: bool
|
|
Full Usage:
Config.initDefault (?Token, ?ConfigPath, ?CacheFolder)
Parameters:
string
?ConfigPath : string
?CacheFolder : string
Returns: Config
|
|
|
|
Full Usage:
Config.tryGetIndexedPackageByNameAndVersion packageName semverString config
Parameters:
string
semverString : string
config : Config
Returns: ValidationPackageIndex option
|
|
Full Usage:
Config.tryGetLatestPackage packageName config
Parameters:
string
config : Config
Returns: ValidationPackageIndex option
|
|
Full Usage:
Config.withIndex index config
Parameters:
ValidationPackageIndex[]
config : Config
Returns: Config
|
|
|
|