class ChefConfig::PathHelper

def self.escape_glob(*parts, windows: ChefUtils.windows?)

Deprecated:
  • this method is deprecated. Please use escape_glob_dirs
def self.escape_glob(*parts, windows: ChefUtils.windows?)
  path = cleanpath(join(*parts, windows: windows), windows: windows)
  path.gsub(/[\\\{\}\[\]\*\?]/) { |x| "\\" + x }
end