MCPcopy Create free account
hub / github.com/git-bug/git-bug / Reset

Method Reset

commands/execenv/env.go:76–76  ·  view source on GitHub ↗

Reset clear what has been recorded as written in the output before. This only works in test scenario.

()

Source from the content-addressed store, hash-verified

74 // Reset clear what has been recorded as written in the output before.
75 // This only works in test scenario.
76 Reset()
77 // ForceIsTerminal allow to force the returned value of IsTerminal
78 // This only works in test scenario.
79 ForceIsTerminal(value bool)

Callers 5

MakeExpectedRegexFunction · 0.65
TestBugRmFunction · 0.65
_indexMethod · 0.65
splitFuncFunction · 0.65
ReadMethod · 0.65

Implementers 1

outcommands/execenv/env.go

Calls

no outgoing calls

Tested by 1

TestBugRmFunction · 0.52