Skip to main content

db_check_json

Function db_check_json 

Source
pub fn db_check_json(path: &Path) -> Result<String, &'static str>
Expand description

Reports whether a SQLite database path is readable and regular.

§Parameters

§Returns

Returns the successful value produced by crate::runtime::ops_bridge::db_check_json or an error when the operation fails.

§Errors

Returns an error value when crate::runtime::ops_bridge::db_check_json cannot complete successfully.

§Examples

ⓘ
let _result = pharos_native::runtime::ops_bridge::db_check_json(std::path::Path::new("fixture.json"));