MCPcopy Index your code
hub / github.com/syncthing/syncthing / hasSessionCookie

Function hasSessionCookie

lib/api/api_test.go:503–506  ·  view source on GitHub ↗
(cookies []*http.Cookie)

Source from the content-addressed store, hash-verified

501}
502
503func hasSessionCookie(cookies []*http.Cookie) bool {
504 _, ok := getSessionCookie(cookies)
505 return ok
506}
507
508func hasDeleteSessionCookie(cookies []*http.Cookie) bool {
509 for _, cookie := range cookies {

Callers 2

TestHTTPLoginFunction · 0.85
TestHtmlFormLoginFunction · 0.85

Calls 1

getSessionCookieFunction · 0.85

Tested by

no test coverage detected