MCPcopy Index your code
hub / github.com/dnhkng/GLaDOS / getplatformpaths

Method getplatformpaths

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

Source from the content-addressed store, hash-verified

619 mode = ctypes.RTLD_GLOBAL
620
621 def getplatformpaths(self, libname):
622 if os.path.pathsep in libname:
623 names = [libname]
624 else:
625 names = [fmt % libname for fmt in self.name_formats]
626
627 for directory in self.getdirs(libname):
628 for name in names:
629 yield os.path.join(directory, name)
630
631 @staticmethod
632 def getdirs(libname):

Callers

nothing calls this directly

Calls 2

getdirsMethod · 0.95
joinMethod · 0.80

Tested by

no test coverage detected