MCPcopy
hub / github.com/perkeep/perkeep / IsChild

Function IsChild

pkg/client/android/androidx_real.go:24–27  ·  view source on GitHub ↗

IsChild reports whether this process is running as an Android child process and should report its output in the form that the Android uploader app expects.

()

Source from the content-addressed store, hash-verified

22// child process and should report its output in the form that the
23// Android uploader app expects.
24func IsChild() bool {
25 memOnce.Do(startMemGoroutine)
26 return androidOutput
27}
28
29func OnAndroid() bool {
30 detectOnce.Do(initOnAndroid)

Callers 9

useHTTP2Method · 0.92
transportForConfigMethod · 0.92
DialFuncMethod · 0.92
DialTLSFuncMethod · 0.92
initFunction · 0.92
statReceiverMethod · 0.92
runMethod · 0.92
PreExitFunction · 0.70
NoteFileUploadedFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected