MCPcopy Create free account
hub / github.com/JordanCoin/codemap / Error

Method Error

cmd/hooks.go:53–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53func (e *HookTimeoutError) Error() string {
54 return fmt.Sprintf("hook %q timed out after %s", e.Hook, e.Timeout)
55}
56
57// cappedStringWriter captures at most maxBytes while still reporting full
58// progress to avoid blocking subprocess writers on large output.

Callers 15

TestHookTimeoutHelpersFunction · 0.95
TestBasicTreeOutputFunction · 0.45
TestJSONOutputFunction · 0.45
TestSubdirectoryPathFunction · 0.45
TestNonexistentPathFunction · 0.45
TestSkylineFlagFunction · 0.45
TestDebugFlagFunction · 0.45
TestMultipleFlagsFunction · 0.45
TestRelativePathFunction · 0.45
TestCurrentDirectoryFunction · 0.45
TestBuildTreeStructureFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestHookTimeoutHelpersFunction · 0.76
TestBasicTreeOutputFunction · 0.36
TestJSONOutputFunction · 0.36
TestSubdirectoryPathFunction · 0.36
TestNonexistentPathFunction · 0.36
TestSkylineFlagFunction · 0.36
TestDebugFlagFunction · 0.36
TestMultipleFlagsFunction · 0.36
TestRelativePathFunction · 0.36
TestCurrentDirectoryFunction · 0.36
TestBuildTreeStructureFunction · 0.36