MCPcopy Create free account
hub / github.com/pyfa-org/Pyfa / _get_user_jargon_mtime

Method _get_user_jargon_mtime

service/jargon/loader.py:55–58  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

53 self._jargon = Jargon(jargondata)
54
55 def _get_user_jargon_mtime(self) -> int:
56 if USER_JARGON_PATH is None or not os.path.isfile(USER_JARGON_PATH):
57 return 0
58 return os.stat(USER_JARGON_PATH).st_mtime
59
60 @staticmethod
61 def init_user_jargon(jargon_path):

Callers 2

_is_staleMethod · 0.95
_load_jargonMethod · 0.95

Calls 1

statMethod · 0.80

Tested by

no test coverage detected