MCPcopy
hub / github.com/dnhkng/GLaDOS / getplatformpaths

Method getplatformpaths

glados/whisper_cpp_wrapper.py:799–808  ·  view source on GitHub ↗
(self, libname)

Source from the content-addressed store, hash-verified

797 self._ld_so_cache = cache
798
799 def getplatformpaths(self, libname):
800 if self._ld_so_cache is None:
801 self._create_ld_so_cache()
802
803 result = self._ld_so_cache.get(libname, set())
804 for i in result:
805 # we iterate through all found paths for library, since we may have
806 # actually found multiple architectures or other library types that
807 # may not load
808 yield i
809
810
811# Windows

Callers

nothing calls this directly

Calls 2

_create_ld_so_cacheMethod · 0.95
getMethod · 0.80

Tested by

no test coverage detected