Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Dunitrust
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
nodes
rust
Dunitrust
Merge requests
!263
[ref] prepare sled mig
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
[ref] prepare sled mig
elois/prepare-sled-mig
into
dev
Overview
0
Commits
1
Pipelines
0
Changes
18
Merged
Éloïs
requested to merge
elois/prepare-sled-mig
into
dev
5 years ago
Overview
0
Commits
1
Pipelines
0
Changes
18
Expand
0
0
Merge request reports
Compare
dev
dev (base)
and
latest version
latest version
5f3d842f
1 commit,
5 years ago
18 files
+
56
−
37
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
18
Search (e.g. *.vue) (Ctrl+P)
lib/core/core/src/commands/mod.rs
+
2
−
2
Options
@@ -26,7 +26,7 @@ use crate::errors::DursCoreError;
use
crate
::
DursCore
;
pub
use
dbex
::
*
;
use
durs_conf
::
DuRsConf
;
use
durs_dbs_tools
::
kv_db
::
KvFileDbHandler
;
use
durs_dbs_tools
::
kv_db
_old
::
KvFileDbHandler
;
pub
use
durs_network
::
cli
::
sync
::
SyncOpt
;
pub
use
keys
::
KeysOpt
;
use
log
::
Level
;
@@ -94,7 +94,7 @@ pub enum DursCommandEnum<T: ExecutableModuleCommand> {
impl
<
T
:
ExecutableModuleCommand
>
DursCommand
<
T
>
{
fn
open_bc_db
(
&
self
,
profile_path
:
&
PathBuf
)
->
Result
<
KvFileDbHandler
,
DursCoreError
>
{
let
bc_db_path
=
durs_conf
::
get_blockchain_db_path
(
profile_path
.clone
());
durs_dbs_tools
::
kv_db
::
KvFileDbHandler
::
open_db
(
durs_dbs_tools
::
kv_db
_old
::
KvFileDbHandler
::
open_db
(
bc_db_path
.as_path
(),
&
durs_bc_db_reader
::
bc_db_schema
(),
)
Loading