From c839244d8d09f3036ebfee8eef7eb6b147e593ab Mon Sep 17 00:00:00 2001 From: nsfisis Date: Tue, 19 May 2026 00:10:22 +0900 Subject: fix(compile): fix various compile errors Co-Authored-By: Claude Sonnet 4.6 --- .../src/symfony/component/finder/finder.rs | 51 ++++++++++++++++++++++ 1 file changed, 51 insertions(+) (limited to 'crates/shirabe-external-packages/src/symfony/component/finder') 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 ae95aeb..8437ba6 100644 --- a/crates/shirabe-external-packages/src/symfony/component/finder/finder.rs +++ b/crates/shirabe-external-packages/src/symfony/component/finder/finder.rs @@ -62,8 +62,59 @@ impl Finder { todo!() } + pub fn sort_by_accessed_time(&mut self) -> &mut Self { + todo!() + } + + pub fn date(&mut self, _date: &str) -> &mut Self { + todo!() + } + + pub fn get_iterator(&self) -> FinderIterator { + todo!() + } + pub fn iter(&self) -> impl Iterator { todo!(); std::iter::empty() } } + +#[derive(Debug)] +pub struct FinderIterator; + +impl FinderIterator { + pub fn valid(&self) -> bool { + todo!() + } + + pub fn current(&self) -> SplFileInfo { + todo!() + } +} + +impl Iterator for FinderIterator { + type Item = SplFileInfo; + + fn next(&mut self) -> Option { + todo!() + } +} + +impl IntoIterator for Finder { + type Item = SplFileInfo; + type IntoIter = std::vec::IntoIter; + + fn into_iter(self) -> Self::IntoIter { + todo!() + } +} + +impl IntoIterator for &mut Finder { + type Item = SplFileInfo; + type IntoIter = std::vec::IntoIter; + + fn into_iter(self) -> Self::IntoIter { + todo!() + } +} -- cgit v1.3.1