Class: Mercurial::ConfigFile

Inherits:
Object
  • Object
show all
Defined in:
lib/core_ext/mercurial-ruby/config_file.rb

Instance Method Summary collapse

Instance Method Details

#exists?Boolean

Returns:

  • (Boolean)


5
6
7
8
# File 'lib/core_ext/mercurial-ruby/config_file.rb', line 5

def exists?
  # Mercurial::ConfigFile#exists? patched to be Ruby 3.2+ compatible
  File.exist?(path)
end