diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-17 02:25:52 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-17 02:25:52 +0900 |
| commit | 7f606f36fef0c0467c3c0db3d0da33af486dae8a (patch) | |
| tree | c3f0a3340e1dbfc5245964a775b73030d5abf44e /crates/shirabe-external-packages/src/symfony/component/finder/finder.rs | |
| parent | 9389ddbf06f6d38445c277640cab7b2270057790 (diff) | |
| download | php-shirabe-7f606f36fef0c0467c3c0db3d0da33af486dae8a.tar.gz php-shirabe-7f606f36fef0c0467c3c0db3d0da33af486dae8a.tar.zst php-shirabe-7f606f36fef0c0467c3c0db3d0da33af486dae8a.zip | |
feat(port): add stub implementations of shirabe-external-packages
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 | 55 |
1 files changed, 55 insertions, 0 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 new file mode 100644 index 0000000..95bc4f7 --- /dev/null +++ b/crates/shirabe-external-packages/src/symfony/component/finder/finder.rs @@ -0,0 +1,55 @@ +use crate::symfony::component::finder::spl_file_info::SplFileInfo; + +#[derive(Debug)] +pub struct Finder; + +impl Finder { + pub fn new() -> Self { + todo!() + } + + pub fn create() -> Self { + todo!() + } + + pub fn files(&mut self) -> &mut Self { + todo!() + } + + pub fn directories(&mut self) -> &mut Self { + todo!() + } + + pub fn depth(&mut self, level: i64) -> &mut Self { + todo!() + } + + pub fn r#in(&mut self, dirs: &str) -> &mut Self { + todo!() + } + + 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 { + todo!() + } + + pub fn not_name(&mut self, pattern: &str) -> &mut Self { + todo!() + } + + pub fn name(&mut self, pattern: &str) -> &mut Self { + todo!() + } + + pub fn sort_by_name(&mut self) -> &mut Self { + todo!() + } + + pub fn iter(&self) -> impl Iterator<Item = SplFileInfo> { + todo!(); + std::iter::empty() + } +} |
