gps 7.3.3

Official CLI & library for Git Patch Stack
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use super::utils::print_error_chain;
use gps as ps;

pub fn sha(patch_index: usize, color: bool, exclude_newline: bool) {
    let res = ps::sha::sha(patch_index, exclude_newline);
    match res {
        Ok(_) => {}
        Err(e) => {
            print_error_chain(color, e.into());
            std::process::exit(1);
        }
    }
}