svn 0.1.7

Async client for Subversion's svn:// (ra_svn) protocol.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::*;

mod diff;
mod replay;
mod status;
mod switch;
mod update;

fn require_finish_report(report: &Report) -> Result<(), SvnError> {
    match report.commands.last() {
        Some(ReportCommand::FinishReport) => Ok(()),
        _ => Err(SvnError::Protocol(
            "report must end with finish-report".into(),
        )),
    }
}