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

Function add_stream

tools/python-3.11.9-amd64/Lib/msilib/__init__.py:129–134  ·  view source on GitHub ↗
(db, name, path)

Source from the content-addressed store, hash-verified

127
128
129def add_stream(db, name, path):
130 v = db.OpenView("INSERT INTO _Streams (Name, Data) VALUES ('%s', ?)" % name)
131 r = CreateRecord(1)
132 r.SetStream(1, path)
133 v.Execute(r)
134 v.Close()
135
136def init_database(name, schema,
137 ProductName, ProductCode, ProductVersion,

Callers 1

commitMethod · 0.85

Calls 1

CloseMethod · 0.80

Tested by

no test coverage detected