MCPcopy Create free account
hub / github.com/openclaw/gogcli / stdinReader

Function stdinReader

internal/cmd/runtime.go:398–400  ·  view source on GitHub ↗
(ctx context.Context)

Source from the content-addressed store, hash-verified

396}
397
398func stdinReader(ctx context.Context) io.Reader {
399 return commandIO(ctx).In
400}
401
402func stdinIsTerminal(ctx context.Context) bool {
403 file, ok := stdinReader(ctx).(*os.File)

Callers 15

RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
resolveContentInputFunction · 0.85
readTextInputFunction · 0.85
RunMethod · 0.85
RunMethod · 0.85
RunMethod · 0.85
resolveRefreshTokenMethod · 0.85
resolveAccessTokenMethod · 0.85

Calls 1

commandIOFunction · 0.85

Tested by

no test coverage detected