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

Method WriteFakeWatchlistsFile

deps/v8/tools/release/test_scripts.py:222–234  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

220 f.write("#define V8_IS_CANDIDATE_VERSION 0\n")
221
222 def WriteFakeWatchlistsFile(self):
223 watchlists_file = os.path.join(TEST_CONFIG["DEFAULT_CWD"], WATCHLISTS_FILE)
224 if not os.path.exists(os.path.dirname(watchlists_file)):
225 os.makedirs(os.path.dirname(watchlists_file))
226 with open(watchlists_file, "w") as f:
227
228 content = """
229 'merges': [
230 # Only enabled on branches created with tools/release/create_release.py
231 # 'v8-merges@googlegroups.com',
232 ],
233"""
234 f.write(content)
235
236 def MakeStep(self):
237 """Convenience wrapper."""

Callers

nothing calls this directly

Calls 4

openFunction · 0.50
joinMethod · 0.45
existsMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected