MCPcopy Index your code
hub / github.com/nodejs/node / Contains

Method Contains

tools/test.py:853–859  ·  view source on GitHub ↗
(self, path, file)

Source from the content-addressed store, hash-verified

851 self.section = section
852
853 def Contains(self, path, file):
854 if len(path) > len(file):
855 return False
856 for i in range(len(path)):
857 if not path[i].match(NormalizePath(file[i])):
858 return False
859 return True
860
861 def GetTestStatus(self, sections, defs):
862 status_file = join(self.root, '%s.status' % self.section)

Callers

nothing calls this directly

Calls 3

NormalizePathFunction · 0.85
matchMethod · 0.65
rangeFunction · 0.50

Tested by

no test coverage detected