File: main.rs

package info (click to toggle)
rust-gix-merge 0.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 4,644 kB
  • sloc: sh: 2,069; makefile: 2
file content (11 lines) | stat: -rw-r--r-- 199 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
use gix_hash::ObjectId;
extern crate core;

mod blob;
mod tree;

pub use gix_testtools::Result;

fn hex_to_id(hex: &str) -> ObjectId {
    ObjectId::from_hex(hex.as_bytes()).expect("40 bytes hex")
}