MCPcopy Index your code
hub / github.com/maruel/panicparse / guessPaths

Method guessPaths

stack/context.go:219–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

217}
218
219func (s *Snapshot) guessPaths() bool {
220 b := s.findRoots() == 0
221 for _, r := range s.Goroutines {
222 // Note that this is important to call it even if
223 // s.RemoteGOROOT == s.LocalGOROOT.
224 b = r.updateLocations(s.RemoteGOROOT, s.LocalGOROOT, s.LocalGomods, s.RemoteGOPATHs) && b
225 }
226 return b
227}
228
229// augment processes source files to improve calls to be more descriptive.
230//

Callers 7

TestGomoduleComplexFunction · 0.80
TestGoRunFunction · 0.80
TestPanicFunction · 0.80
TestPanicwebFunction · 0.80
ScanSnapshotFunction · 0.80
testAugmentCommonFunction · 0.80

Calls 2

findRootsMethod · 0.95
updateLocationsMethod · 0.45

Tested by 6

TestGomoduleComplexFunction · 0.64
TestGoRunFunction · 0.64
TestPanicFunction · 0.64
TestPanicwebFunction · 0.64
testAugmentCommonFunction · 0.64