Skip to content

Commit

Permalink
Make Glob.literal() a public function
Browse files Browse the repository at this point in the history
  • Loading branch information
orf authored Dec 9, 2024
1 parent 79cbe89 commit ab10173
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/globset/src/glob.rs
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ impl Glob {
/// an entire path exactly.
///
/// The basic format of these patterns is `{literal}`.
fn literal(&self) -> Option<String> {
pub fn literal(&self) -> Option<String> {
if self.opts.case_insensitive {
return None;
}
Expand Down

0 comments on commit ab10173

Please sign in to comment.