We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a9dd03 commit eed775dCopy full SHA for eed775d
src/lib.rs
@@ -4,15 +4,18 @@ use std::collections::HashMap;
4
use std::fs;
5
use std::path::{Path, PathBuf};
6
7
+/// The main program wrapper.
8
pub struct MissingBlobs {
9
recursive: bool,
10
}
11
12
impl MissingBlobs {
13
+ /// Creates a new MissingBlobs with the given configuration.
14
pub fn new(recursive: bool) -> Self {
15
Self { recursive }
16
17
18
+ /// Searches for blobs in given paths, and display missing dependencies.
19
pub fn run(&self, paths: &[&str]) {
20
let file_paths: Vec<PathBuf> = if self.recursive {
21
find_files_recursively(&paths)
0 commit comments