MCPcopy
hub / github.com/pingc0y/URLFinder / GetEndUrl

Function GetEndUrl

crawler/run.go:341–351  ·  view source on GitHub ↗
(url string)

Source from the content-addressed store, hash-verified

339}
340
341func GetEndUrl(url string) bool {
342 config.Lock.Lock()
343 defer config.Lock.Unlock()
344 for _, eachItem := range result.EndUrl {
345 if eachItem == url {
346 return true
347 }
348 }
349 return false
350
351}
352
353func AddRedirect(url string) {
354 config.Lock.Lock()

Callers 1

SpiderFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected