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) -> NilClassComputes 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
- 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.
- (NilClass)
Constants
MAX_DEPTH
value: 10
Max number of directory levels the generator looks into.