MCPcopy Index your code
hub / github.com/PokemonGoF/PokemonGo-Bot / get_installed_version

Method get_installed_version

pokemongo_bot/plugin_loader.py:71–78  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

69 return parts
70
71 def get_installed_version(self):
72 if not self.is_already_installed():
73 return None
74
75 filename = os.path.join(self.get_plugin_folder(), '.sha')
76 print(filename)
77 with open(filename) as file:
78 return file.read().strip()
79
80 def get_local_destination(self):
81 parts = self.plugin_parts

Callers 1

Calls 3

is_already_installedMethod · 0.95
get_plugin_folderMethod · 0.95
readMethod · 0.80

Tested by 1