MCPcopy Create free account
hub / github.com/comaps/comaps / check_email

Function check_email

tools/python/check_store_metadata.py:163–166  ·  view source on GitHub ↗
(path)

Source from the content-addressed store, hash-verified

161 return done(path, ok)
162
163def check_email(path):
164 (ok, email) = check_raw(path, 500)
165 ok = ok and email.find('@') != -1 and email.find('.') != -1
166 return done(path, ok)
167
168def check_exact(path, expected):
169 (ok, value) = check_raw(path, len(expected))

Callers 1

check_androidFunction · 0.85

Calls 3

check_rawFunction · 0.85
doneFunction · 0.85
findMethod · 0.45

Tested by

no test coverage detected