Skip to content

Commit ccb1a08

Browse files
committed
feat: Allow obtaining mutable pipeline buffers.
1 parent 161c6c0 commit ccb1a08

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

gix-filter/src/pipeline/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,11 @@ impl Pipeline {
102102
pub fn options_mut(&mut self) -> &mut Options {
103103
&mut self.options
104104
}
105+
106+
/// Return our double-buffers for re-use by the caller.
107+
pub fn buffers_mut(&mut self) -> &mut gix_utils::Buffers {
108+
&mut self.bufs
109+
}
105110
}
106111

107112
///

0 commit comments

Comments
 (0)