mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-18 18:27:38 +00:00
gitignore: derive Debug
on structs
This commit is contained in:
parent
c47bb9373c
commit
1e07b95e7b
1 changed files with 2 additions and 0 deletions
|
@ -19,6 +19,7 @@ use regex::{escape as regex_escape, Regex};
|
|||
|
||||
pub enum GitIgnoreParseError {}
|
||||
|
||||
#[derive(Debug)]
|
||||
struct GitIgnoreLine {
|
||||
is_negative: bool,
|
||||
regex: Regex,
|
||||
|
@ -153,6 +154,7 @@ impl GitIgnoreLine {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug)]
|
||||
pub struct GitIgnoreFile {
|
||||
parent: Option<Arc<GitIgnoreFile>>,
|
||||
lines: Vec<GitIgnoreLine>,
|
||||
|
|
Loading…
Reference in a new issue