• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

vigna / webgraph-rs / 23365769388

20 Mar 2026 10:52PM UTC coverage: 68.228% (-3.0%) from 71.245%
23365769388

push

github

vigna
No le_bins,be_bins for webgraph

6655 of 9754 relevant lines covered (68.23%)

46582760.24 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/cli/src/transform/mod.rs
1
/*
2
 * SPDX-FileCopyrightText: 2024 Tommaso Fontana
3
 * SPDX-FileCopyrightText: 2026 Sebastiano Vigna
4
 *
5
 * SPDX-License-Identifier: Apache-2.0 OR LGPL-2.1-or-later
6
 */
7

8
use anyhow::Result;
9
use clap::Subcommand;
10

11
pub mod map;
12
pub mod perm;
13
pub mod symmetrize;
14
pub mod transpose;
15

16
/// Applies a transformation to a graph.​
17
#[derive(Subcommand, Debug)]
18
#[command(name = "transform")]
19
pub enum SubCommands {
20
    Map(map::CliArgs),
21
    Perm(perm::CliArgs),
22
    Symmetrize(symmetrize::CliArgs),
23
    Transpose(transpose::CliArgs),
24
}
25

26
pub fn main(subcommand: SubCommands) -> Result<()> {
5✔
27
    match subcommand {
5✔
28
        SubCommands::Map(args) => map::main(args),
×
29
        SubCommands::Perm(args) => perm::main(args),
×
30
        SubCommands::Symmetrize(args) => symmetrize::main(args),
15✔
31
        SubCommands::Transpose(args) => transpose::main(args),
×
32
    }
33
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc