pub trait FoundryPathExt {
// Required methods
fn is_sol_test(&self) -> bool;
fn is_sol(&self) -> bool;
fn is_yul(&self) -> bool;
}
Expand description
Useful extensions to std::path::Path
.
Required Methods§
Sourcefn is_sol_test(&self) -> bool
fn is_sol_test(&self) -> bool
Returns true if the Path
ends with .t.sol