MCPcopy Create free account
hub / github.com/chainreactors/spray / appendBasePath

Function appendBasePath

core/pool/brutepool.go:1123–1131  ·  view source on GitHub ↗
(current string)

Source from the content-addressed store, hash-verified

1121}
1122
1123func appendBasePath(current string) string {
1124 if current == "" {
1125 return "/"
1126 }
1127 if strings.HasSuffix(current, "/") {
1128 return current
1129 }
1130 return current + "/"
1131}
1132
1133func (pool *BrutePool) doActive() {
1134 if pool.Mod == HostSpray {

Callers 2

doAppendWordsMethod · 0.85

Calls

no outgoing calls