improve code docs in api2

Note: API methos should be declared pub, so that they show up in the generated docu.
This commit is contained in:
Dietmar Maurer
2021-01-22 15:53:51 +01:00
parent 545706cbee
commit bf78f70885
19 changed files with 96 additions and 52 deletions

View File

@ -1,3 +1,5 @@
//! Datastore Syncronization Job Management
use anyhow::{bail, format_err, Error};
use serde_json::Value;
@ -110,7 +112,7 @@ pub fn list_sync_jobs(
},
)]
/// Runs the sync jobs manually.
fn run_sync_job(
pub fn run_sync_job(
id: String,
_info: &ApiMethod,
rpcenv: &mut dyn RpcEnvironment,