Skip to content

Commit 23d2bed

Browse files
committed
feat: make internal repo fields public for ease of use.
That way, functions or methods taking such a type as argument have access to the underlying repository so it doesn't need to be passed as separate argument.
1 parent 7190b4f commit 23d2bed

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gix/src/filter.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,8 @@ pub mod pipeline {
7070
pub struct Pipeline<'repo> {
7171
inner: gix_filter::Pipeline,
7272
cache: gix_worktree::Stack,
73-
repo: &'repo Repository,
73+
/// The repository this pipeline is associated with.
74+
pub repo: &'repo Repository,
7475
}
7576

7677
/// Lifecycle

0 commit comments

Comments
 (0)