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

Method commit

tools/python-3.11.9-amd64/Lib/msilib/__init__.py:215–223  ·  view source on GitHub ↗
(self, db)

Source from the content-addressed store, hash-verified

213 return self.index, logical
214
215 def commit(self, db):
216 from tempfile import mktemp
217 filename = mktemp()
218 FCICreate(filename, self.files)
219 add_data(db, "Media",
220 [(1, self.index, None, "#"+self.name, None, None)])
221 add_stream(db, self.name, filename)
222 os.unlink(filename)
223 db.Commit()
224
225_directories = set()
226class Directory:

Callers

nothing calls this directly

Calls 4

mktempFunction · 0.90
add_dataFunction · 0.85
add_streamFunction · 0.85
unlinkMethod · 0.45

Tested by

no test coverage detected