Skip to content

Commit eed775d

Browse files
committed
Add documentation
1 parent 2a9dd03 commit eed775d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,18 @@ use std::collections::HashMap;
44
use std::fs;
55
use std::path::{Path, PathBuf};
66

7+
/// The main program wrapper.
78
pub struct MissingBlobs {
89
recursive: bool,
910
}
1011

1112
impl MissingBlobs {
13+
/// Creates a new MissingBlobs with the given configuration.
1214
pub fn new(recursive: bool) -> Self {
1315
Self { recursive }
1416
}
1517

18+
/// Searches for blobs in given paths, and display missing dependencies.
1619
pub fn run(&self, paths: &[&str]) {
1720
let file_paths: Vec<PathBuf> = if self.recursive {
1821
find_files_recursively(&paths)

0 commit comments

Comments
 (0)