1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
//! Public data structures for pack index files
use std::collections::BTreeMap;

#[derive(Debug)]
pub struct PackFileRef {
    pub path: String,
}

pub struct FileRef {
    pub category: u32,
    pub pack_file: u32,
}

pub struct PackIndexFile {
    pub archives: Vec<PackFileRef>,
    pub files: BTreeMap<u32, FileRef>,
}