class Bundler::Audit::Database

def self.exists?(path=DEFAULT_PATH)

Other tags:
    Since: - 0.8.0

Returns:
  • (Boolean) -

Parameters:
  • path (String) --
def self.exists?(path=DEFAULT_PATH)
  File.directory?(path) && !(Dir.entries(path) - %w[. ..]).empty?
end