glob::MatchOptions struct fields should be public
This commit is contained in:
parent
0a1e251e81
commit
e4801da62f
1 changed files with 3 additions and 3 deletions
|
@ -601,13 +601,13 @@ pub struct MatchOptions {
|
||||||
* currently only considers upper/lower case relationships between ASCII characters,
|
* currently only considers upper/lower case relationships between ASCII characters,
|
||||||
* but in future this might be extended to work with Unicode.
|
* 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)
|
* If this is true then path-component separator characters (e.g. `/` on Posix)
|
||||||
* must be matched by a literal `/`, rather than by `*` or `?` or `[...]`
|
* 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
|
* 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
|
* 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.
|
* 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 {
|
impl MatchOptions {
|
||||||
|
|
Loading…
Reference in a new issue