origen_metal 1.4.0

Bare metal APIs for the Origen SDK
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use super::Status;
use crate::{Outcome, Result};
use std::path::Path;

pub trait RevisionControlFrontendAPI {
    fn is_modified(&self) -> Result<bool>;
    fn status(&self) -> Result<Status>;
    fn checkin(
        &self,
        files_or_dirs: Option<Vec<&Path>>,
        msg: &str,
        dry_run: bool,
    ) -> Result<Outcome>;
    fn tag(&self, tag: &str, force: bool, msg: Option<&str>) -> Result<()>;
    fn system(&self) -> Result<String>;
    fn init(&self) -> Result<Outcome>;
}