MCPcopy Create free account
hub / github.com/PierreGode/Ragnar / _auth_client_ip

Function _auth_client_ip

webapp_modern.py:4625–4627  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4623 for compound in ('.gps.json', '.hc22000', '.pcapng', '.netjson'):
4624 if name.lower().endswith(compound):
4625 ext = compound
4626 name = name[:-len(compound)]
4627 break
4628 if not ext:
4629 dot_pos = name.rfind('.')
4630 if dot_pos > 0:

Callers 2

auth_loginFunction · 0.85
auth_recoverFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected