MCPcopy Index your code
hub / github.com/ddev/ddev / ProtectedID

Method ProtectedID

pkg/ddevapp/amplitude_project.go:19–22  ·  view source on GitHub ↗

ProtectedID returns the unique hash value for the project.

()

Source from the content-addressed store, hash-verified

17
18// ProtectedID returns the unique hash value for the project.
19func (app *DdevApp) ProtectedID() string {
20 appID, _ := machineid.ProtectedID("ddev" + app.Name)
21 return appID
22}
23
24// TrackProject collects and tracks information about the project for instrumentation.
25func (app *DdevApp) TrackProject() {

Callers 3

TrackProjectMethod · 0.95
TestProtectedIDMethod · 0.80
GetDeviceIDFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestProtectedIDMethod · 0.64