eck 0.0.4

A fast, simple file & folder encryption manager, written in Rust
1
2
3
4
5
6
7
8
9
10
11
12
13
14
use crate::diagnostic::output::snippet::Snippet;
use crate::treatment::inspect::inspect_object;

/// Helper for inspecting one or many paths.
/// \
/// It just iterates over all the paths and inspects each one calling `inspect_object`.
pub fn inspect_one_or_more_objects(paths: &Vec<String>) {
    // We iterate over the paths
    for path in paths {
        inspect_object(path)
            .with_snippet(Snippet::cli_invocation("eck inspect", path))
            .display();
    }
}