MCPcopy Create free account
hub / github.com/EasyIME/PIME / findFile

Method findFile

python/cinbase/config.py:150–155  ·  view source on GitHub ↗
(self, dirs, name)

Source from the content-addressed store, hash-verified

148 return os.path.abspath(os.path.join(os.path.dirname(__file__), os.path.pardir, "input_methods", self.imeDirName, "config"))
149
150 def findFile(self, dirs, name):
151 for dirname in dirs:
152 path = os.path.join(dirname, name)
153 if os.path.exists(path):
154 return path
155 return None
156
157 def copytree(slef, src, dst, symlinks=False, ignore=None):
158 for item in os.listdir(src):

Callers 5

updateMethod · 0.95
initCinBaseContextMethod · 0.45
checkConfigChangeMethod · 0.45
runMethod · 0.45
runMethod · 0.45

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected