From 034473c84f9831e448bf751426590f91981b8877 Mon Sep 17 00:00:00 2001 From: benbierens Date: Wed, 15 Mar 2023 13:22:31 +0100 Subject: [PATCH] Extracts RepoKind type to consts --- codex/conf.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/codex/conf.nim b/codex/conf.nim index 0c879731..aedc4879 100644 --- a/codex/conf.nim +++ b/codex/conf.nim @@ -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* {.