fix: apply Grep filters to direct files

This commit is contained in:
2026-08-30 20:15:01 +09:00
parent 80c1f48f0e
commit 745c6adbf2
4 changed files with 323 additions and 131 deletions
+2 -2
View File
@@ -2353,8 +2353,8 @@ mod tests {
operation: WorkdirSessionOperation::Grep(GrepRequest {
pattern: "hello".into(),
path: WorkdirPath::new("hello.txt").unwrap(),
glob: None,
file_type: None,
glob: Some("*.txt".into()),
file_type: Some("txt".into()),
case_insensitive: false,
before_context: 0,
after_context: 0,