MCPcopy Index your code
hub / github.com/python/cpython / phase0

Method phase0

Lib/filecmp.py:140–146  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

138 self.shallow = shallow
139
140 def phase0(self): # Compare everything except common subdirectories
141 self.left_list = _filter(os.listdir(self.left),
142 self.hide+self.ignore)
143 self.right_list = _filter(os.listdir(self.right),
144 self.hide+self.ignore)
145 self.left_list.sort()
146 self.right_list.sort()
147
148 def phase1(self): # Compute common names
149 a = dict(zip(map(os.path.normcase, self.left_list), self.left_list))

Callers

nothing calls this directly

Calls 3

_filterFunction · 0.85
listdirMethod · 0.80
sortMethod · 0.45

Tested by

no test coverage detected