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

Method isValid

stack/context.go:78–91  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

76}
77
78func (o *Opts) isValid() bool {
79 if !o.GuessPaths && o.AnalyzeSources {
80 return false
81 }
82 if strings.Contains(o.LocalGOROOT, "\\") {
83 return false
84 }
85 for _, p := range o.LocalGOPATHs {
86 if strings.Contains(p, "\\") {
87 return false
88 }
89 }
90 return true
91}
92
93// Snapshot is a parsed runtime.Stack() or race detector dump.
94type Snapshot struct {

Callers 1

ScanSnapshotFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected