google-cloud-debugger - Module Google::Cloud::Debugger::Debuggee::AppUniquifierGenerator (v0.42.2)

Reference documentation and code samples for the google-cloud-debugger module Google::Cloud::Debugger::Debuggee::AppUniquifierGenerator.

Generates an application debuggee uniquifier by hashing the application file stats.

Methods

.generate_app_uniquifier

def self.generate_app_uniquifier(sha, app_path = nil) -> NilClass

Computes the application uniquifier by examine the file stats of the files in the given application root directory. It only looks at .rb files and Gemfile.lock

Parameters
  • sha (Digest::SHA) — A digest SHA object used to add the hashing values
  • app_path (String) — Application root directory where the Ruby application is located.
Returns
  • (NilClass)

Constants

MAX_DEPTH

value: 10
Max number of directory levels the generator looks into.