Extracts RepoKind type to consts

This commit is contained in:
benbierens 2023-03-15 13:22:31 +01:00
parent ee88b6ce35
commit 034473c84f
No known key found for this signature in database
GPG Key ID: FE44815D96D0A1AA

View File

@ -34,7 +34,7 @@ import ./discovery
import ./stores
import ./consts
export DefaultCacheSizeMiB, net, DefaultQuotaBytes, DefaultBlockTtl, DefaultBlockMaintenanceInterval, DefaultNumberOfBlocksToMaintainPerInterval
export DefaultCacheSizeMiB, net, DefaultQuotaBytes, DefaultBlockTtl, DefaultBlockMaintenanceInterval, DefaultNumberOfBlocksToMaintainPerInterval, RepoKind
type
StartUpCommand* {.pure.} = enum
@ -162,7 +162,7 @@ type
repoKind* {.
desc: "backend for main repo store (fs, sqlite)"
defaultValueDesc: "fs"
defaultValue: repoFS
defaultValue: RepoKind.repoFS
name: "repo-kind" }: RepoKind
storageQuota* {.