API Type
Static members
Static member | Description |
Full Usage:
API.GetSyncedConfigAndCache(?ConfigPath, ?CacheFolder, ?CacheFileName, ?Token)
Parameters:
string
?CacheFolder : string
?CacheFileName : string
?Token : string
Returns: Result<(Config * PackageCache), GetSyncedConfigAndCacheError>
|
|
Full Usage:
API.InstallPackage(config, cache, packageName, ?SemVer, ?Verbose, ?Token)
Parameters:
Config
cache : PackageCache
packageName : string
?SemVer : string
?Verbose : bool
?Token : string
Returns: Result<string, PackageInstallError>
|
|
Full Usage:
API.ListCachedPackages(cache, ?Verbose)
Parameters:
PackageCache
?Verbose : bool
Returns: Result<ARCValidationPackage seq, string>
|
|
Full Usage:
API.ListIndexedPackages(config, ?Verbose)
Parameters:
Config
?Verbose : bool
Returns: Result<ValidationPackageIndex list, string>
|
|
Full Usage:
API.SaveAndCachePackage(cache, indexedPackage, ?CacheFolder, ?Token)
Parameters:
PackageCache
indexedPackage : ValidationPackageIndex
?CacheFolder : string
?Token : string
Returns: Result<string, PackageInstallError>
|
|
Full Usage:
API.UninstallPackage(cache, packageName, ?SemVer, ?Verbose)
Parameters:
PackageCache
packageName : string
?SemVer : string
?Verbose : bool
Returns: Result<string, PackageUninstallError>
|
|
Full Usage:
API.UpdateIndex(config, ?Token)
Parameters:
Config
?Token : string
Returns: Result<Config, UpdateIndexError>
|
|