aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/shirabe-external-packages/src/symfony/component/finder/finder.rs
blob: ae95aeb4148cdb8a5f54d4fa6ff1bb24dc454a61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
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!()
    }

    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 follow_links(&mut self) -> &mut Self {
        todo!()
    }

    pub fn exclude(&mut self, _exclude: &[String]) -> &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()
    }
}