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]?
This commit is contained in:
bors 2014-07-14 15:41:22 +00:00
commit 61e84a5dca

View File

@ -601,13 +601,13 @@ pub struct MatchOptions {
* currently only considers upper/lower case relationships between ASCII characters,
* but in future this might be extended to work with Unicode.
*/
case_sensitive: bool,
pub case_sensitive: bool,
/**
* If this is true then path-component separator characters (e.g. `/` on Posix)
* must be matched by a literal `/`, rather than by `*` or `?` or `[...]`
*/
require_literal_separator: bool,
pub require_literal_separator: bool,
/**
* If this is true then paths that contain components that start with a `.` will
@ -615,7 +615,7 @@ pub struct MatchOptions {
* will not match. This is useful because such files are conventionally considered
* hidden on Unix systems and it might be desirable to skip them when listing files.
*/
require_literal_leading_dot: bool
pub require_literal_leading_dot: bool
}
impl MatchOptions {