Skip to content

Commit 61e84a5

Browse files
committed
auto merge of #15655 : lightsofapollo/rust/glob-match-options-pub, r=alexcrichton
Not sure how to test this correctly I assume the current tests pass now because of the crate boundaries [and that this is fallout from private by default]?
2 parents 4e2da7c + e4801da commit 61e84a5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libglob/lib.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -601,21 +601,21 @@ pub struct MatchOptions {
601601
* currently only considers upper/lower case relationships between ASCII characters,
602602
* but in future this might be extended to work with Unicode.
603603
*/
604-
case_sensitive: bool,
604+
pub case_sensitive: bool,
605605

606606
/**
607607
* If this is true then path-component separator characters (e.g. `/` on Posix)
608608
* must be matched by a literal `/`, rather than by `*` or `?` or `[...]`
609609
*/
610-
require_literal_separator: bool,
610+
pub require_literal_separator: bool,
611611

612612
/**
613613
* If this is true then paths that contain components that start with a `.` will
614614
* not match unless the `.` appears literally in the pattern: `*`, `?` or `[...]`
615615
* will not match. This is useful because such files are conventionally considered
616616
* hidden on Unix systems and it might be desirable to skip them when listing files.
617617
*/
618-
require_literal_leading_dot: bool
618+
pub require_literal_leading_dot: bool
619619
}
620620

621621
impl MatchOptions {

0 commit comments

Comments
 (0)