Module: File::Constants
- Included in:
- File
- Defined in:
- mrbgems/mruby-io/mrblib/file_constants.rb
Overview
File name matching constants used with File.fnmatch and Dir.glob
Constant Summary collapse
- FNM_SYSCASE =
Makes File.fnmatch case sensitive on systems where it's case insensitive by default
0- FNM_NOESCAPE =
Disables the special meaning of the backslash escape character
1- FNM_PATHNAME =
Pathname wildcard doesn't match '/' (directory separator)
2- FNM_DOTMATCH =
Allows patterns to match hidden files (those starting with '.')
4- FNM_CASEFOLD =
Makes the pattern case insensitive (overrides FNM_SYSCASE)
8