pub async fn get( ctx: &Ctx, doc: &str, path: Option<String>, rev: Option<i64>, out: Option<PathBuf>, ) -> Result<i32>