MCPcopy
hub / github.com/1Password/for-open-source / GetData

Method GetData

script/application.go:127–135  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

125}
126
127func (a *Application) GetData() []byte {
128 data, err := json.MarshalIndent(a, "", "\t")
129 if err != nil {
130 sentry.CaptureException(err)
131 log.Fatalf("Could not marshal Application data: %s", err.Error())
132 }
133
134 return data
135}
136
137// FileName takes application issue number and project name and turn it
138// into a file path. This will always be unique because it is relying on

Callers 4

ParseMethod · 0.95
ApproveMethod · 0.80
createSentryEventMethod · 0.80
createCommentMethod · 0.80

Calls 1

ErrorMethod · 0.80

Tested by

no test coverage detected