MCPcopy Index your code
hub / github.com/kivy/python-for-android / timestamp

Function timestamp

pythonforandroid/pythonpackage.py:588–592  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

586def get_package_name(dependency,
587 use_cache=True):
588 def timestamp():
589 try:
590 return time.monotonic()
591 except AttributeError:
592 return time.time() # Python 2.
593 try:
594 value = package_name_cache[dependency]
595 if value[0] + 600.0 > timestamp() and use_cache:

Callers 1

get_package_nameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected