gobby_code/index/walker/types.rs
1/// How a file should be indexed.
2#[derive(Debug, Clone, Copy, PartialEq, Eq)]
3pub enum FileClassification {
4 Ast,
5 ContentOnly,
6}
7
8#[derive(Debug, Clone, Copy, PartialEq, Eq)]
9pub struct DiscoveryOptions {
10 pub respect_gitignore: bool,
11}
12
13impl Default for DiscoveryOptions {
14 fn default() -> Self {
15 Self {
16 respect_gitignore: true,
17 }
18 }
19}