pub fn persist_checkpoint( storage_root: impl AsRef<Path>, dag: &DagStore, hash: [u8; 32], graph_quin_count: usize, batch_quins: &[NQuin], author_did: u64, ) -> Result<()>