MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / gen_id

Method gen_id

tools/python-3.11.9-amd64/Lib/msilib/__init__.py:197–204  ·  view source on GitHub ↗
(self, file)

Source from the content-addressed store, hash-verified

195 self.index = 0
196
197 def gen_id(self, file):
198 logical = _logical = make_id(file)
199 pos = 1
200 while logical in self.filenames:
201 logical = "%s.%d" % (_logical, pos)
202 pos += 1
203 self.filenames.add(logical)
204 return logical
205
206 def append(self, full, file, logical):
207 if os.path.isdir(full):

Callers 2

appendMethod · 0.95
start_componentMethod · 0.80

Calls 2

make_idFunction · 0.85
addMethod · 0.45

Tested by

no test coverage detected