pub fn edit_document( work_path: &Path, scope: WorkScope, doc_id: u64, author: &[u8; 16], edit: WorkEdit, ) -> Result<()>