MCPcopy Index your code
hub / github.com/github/docs / maySend

Method maySend

lib/hydro.js:68–70  ·  view source on GitHub ↗

* Can check if it can actually send to Hydro

()

Source from the content-addressed store, hash-verified

66 * Can check if it can actually send to Hydro
67 */
68 maySend() {
69 return Boolean(this.secret && this.endpoint) || MOCK_HYDRO_POST
70 }
71
72 /**
73 * Generate a SHA256 hash of the payload using the secret

Callers 2

recordRedirectsFunction · 0.80
events.jsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected