swh_graph/compress/
mod.rs

1// Copyright (C) 2023  The Software Heritage developers
2// See the AUTHORS file at the top-level directory of this distribution
3// License: GNU General Public License version 3, or any later version
4// See top-level LICENSE file for more information
5
6#[cfg(feature = "orc")]
7pub mod bv;
8
9#[cfg(feature = "orc")]
10mod iter_arcs;
11
12#[cfg(feature = "orc")]
13pub use iter_arcs::iter_arcs;
14
15#[cfg(feature = "orc")]
16mod iter_labeled_arcs;
17
18#[cfg(feature = "orc")]
19mod iter_labels;
20
21#[cfg(feature = "orc")]
22pub use iter_labels::iter_labels;
23
24#[cfg(feature = "orc")]
25mod iter_origins;
26#[cfg(feature = "orc")]
27pub use iter_origins::iter_origins;
28
29#[cfg(feature = "orc")]
30mod iter_persons;
31#[cfg(feature = "orc")]
32pub use iter_persons::iter_persons;
33
34#[cfg(feature = "orc")]
35mod iter_fullnames;
36#[cfg(feature = "orc")]
37pub use iter_fullnames::iter_fullnames;
38
39#[cfg(feature = "orc")]
40mod iter_swhids;
41#[cfg(feature = "orc")]
42pub use iter_swhids::iter_swhids;
43
44pub mod label_names;
45
46pub mod maps;
47
48pub mod mph;
49
50#[cfg(feature = "orc")]
51pub mod orc;
52
53#[cfg(feature = "orc")]
54pub mod properties;
55
56pub mod persons;
57
58#[cfg(feature = "orc")]
59pub mod stats;
60
61pub mod transform;
62
63pub mod zst_dir;
64
65const SWHID_TXT_SIZE: usize = 50;
66type TextSwhid = [u8; SWHID_TXT_SIZE];