diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-17 15:08:03 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-17 15:08:03 +0900 |
| commit | 748e741f740ac46ec40e42679aba3b07927709c0 (patch) | |
| tree | 31f01831b11613631ba68da047abf1a9aa43f1b0 /crates/shirabe-external-packages/src/symfony/component/finder/finder.rs | |
| parent | 79bcd3a9ce71954ce7b257e5f3ca1c147c0d974a (diff) | |
| download | php-shirabe-748e741f740ac46ec40e42679aba3b07927709c0.tar.gz php-shirabe-748e741f740ac46ec40e42679aba3b07927709c0.tar.zst php-shirabe-748e741f740ac46ec40e42679aba3b07927709c0.zip | |
chore: cargo clippy --fix
Diffstat (limited to 'crates/shirabe-external-packages/src/symfony/component/finder/finder.rs')
| -rw-r--r-- | crates/shirabe-external-packages/src/symfony/component/finder/finder.rs | 20 |
1 files changed, 13 insertions, 7 deletions
diff --git a/crates/shirabe-external-packages/src/symfony/component/finder/finder.rs b/crates/shirabe-external-packages/src/symfony/component/finder/finder.rs index 4a19b0f..ae95aeb 100644 --- a/crates/shirabe-external-packages/src/symfony/component/finder/finder.rs +++ b/crates/shirabe-external-packages/src/symfony/component/finder/finder.rs @@ -3,6 +3,12 @@ use crate::symfony::component::finder::spl_file_info::SplFileInfo; #[derive(Debug)] pub struct Finder; +impl Default for Finder { + fn default() -> Self { + Self::new() + } +} + impl Finder { pub fn new() -> Self { todo!() @@ -20,11 +26,11 @@ impl Finder { todo!() } - pub fn depth(&mut self, level: i64) -> &mut Self { + pub fn depth(&mut self, _level: i64) -> &mut Self { todo!() } - pub fn r#in(&mut self, dirs: &str) -> &mut Self { + pub fn r#in(&mut self, _dirs: &str) -> &mut Self { todo!() } @@ -32,23 +38,23 @@ impl Finder { todo!() } - pub fn exclude(&mut self, exclude: &[String]) -> &mut Self { + pub fn exclude(&mut self, _exclude: &[String]) -> &mut Self { todo!() } - pub fn ignore_vcs(&mut self, ignore_vcs: bool) -> &mut Self { + pub fn ignore_vcs(&mut self, _ignore_vcs: bool) -> &mut Self { todo!() } - pub fn ignore_dot_files(&mut self, ignore_dot_files: bool) -> &mut Self { + pub fn ignore_dot_files(&mut self, _ignore_dot_files: bool) -> &mut Self { todo!() } - pub fn not_name(&mut self, pattern: &str) -> &mut Self { + pub fn not_name(&mut self, _pattern: &str) -> &mut Self { todo!() } - pub fn name(&mut self, pattern: &str) -> &mut Self { + pub fn name(&mut self, _pattern: &str) -> &mut Self { todo!() } |
