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

vigna / webgraph-rs / 14134523230

28 Mar 2025 05:27PM UTC coverage: 49.303% (-0.4%) from 49.654%
14134523230

push

github

zommiommy
fixed cli endpoint names so they are as they were before the derive refactor

1 of 2 new or added lines in 2 files covered. (50.0%)

612 existing lines in 31 files now uncovered.

2335 of 4736 relevant lines covered (49.3%)

20371538.12 hits per line

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

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

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

10
use super::GlobalArgs;
11

12
pub mod simplify;
13
pub mod transpose;
14

15
#[derive(Subcommand, Debug)]
16
#[command(name = "transform")]
17
/// Apply a transformation to a graph.
18
pub enum SubCommands {
19
    Simplify(simplify::CliArgs),
20
    Transpose(transpose::CliArgs),
21
}
22

23
pub fn main(global_args: GlobalArgs, subcommand: SubCommands) -> Result<()> {
2✔
24
    match subcommand {
2✔
25
        SubCommands::Simplify(args) => simplify::main(global_args, args),
2✔
UNCOV
26
        SubCommands::Transpose(args) => transpose::main(global_args, args),
×
27
    }
28
}
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