@@ -136,7 +136,10 @@
Loading
136 136
        }
137 137
    }
138 138
    impl Linter for TestLinter {
139 -
        fn lints(&self, _working_dir: PathBuf) -> Result<Vec<Lint>, crate::error::Error> {
139 +
        fn lints(
140 +
            &self,
141 +
            _working_dir: impl Into<PathBuf>,
142 +
        ) -> Result<Vec<Lint>, crate::error::Error> {
140 143
            *self.lints_times_called.borrow_mut() += 1;
141 144
            Ok(self.lints.clone())
142 145
        }

@@ -51,7 +51,11 @@
Loading
51 51
}
52 52
53 53
impl linter::Linter for Clippy {
54 -
    fn lints(&self, working_dir: PathBuf) -> Result<Vec<linter::Lint>, crate::error::Error> {
54 +
    fn lints(
55 +
        &self,
56 +
        working_dir: impl Into<PathBuf>,
57 +
    ) -> Result<Vec<linter::Lint>, crate::error::Error> {
58 +
        let working_dir = working_dir.into();
55 59
        println!(
56 60
            "[Clippy] - getting lints for directory {}",
57 61
            &working_dir.to_str().unwrap_or("<no directory>")

@@ -10,7 +10,8 @@
Loading
10 10
pub struct RustFmt {}
11 11
12 12
impl Linter for RustFmt {
13 -
    fn lints(&self, working_dir: PathBuf) -> Result<Vec<Lint>, Error> {
13 +
    fn lints(&self, working_dir: impl Into<PathBuf>) -> Result<Vec<Lint>, Error> {
14 +
        let working_dir = working_dir.into();
14 15
        println!(
15 16
            "[RustFmt] - checking format for directory {}",
16 17
            &working_dir.to_str().unwrap_or("<no directory>")
Files Coverage
cargo-scout-lib/src 92.06%
cargo-scout/src/main.rs 96.30%
Project Totals (7 files) 92.24%
180.1
TRAVIS_OS_NAME=linux
stable=

No yaml found.

Create your codecov.yml to customize your Codecov experience

Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading