MCPcopy Index your code
hub / github.com/serverless/serverless / writeFileSync

Method writeFileSync

packages/serverless/lib/classes/utils.js:45–47  ·  view source on GitHub ↗
(filePath, contents, cycles)

Source from the content-addressed store, hash-verified

43 }
44
45 writeFileSync(filePath, contents, cycles) {
46 writeFileSync(filePath, contents, cycles)
47 }
48
49 async writeFile(filePath, contents, cycles) {
50 return new Promise((resolve, reject) => {

Callers 15

writeFileMethod · 0.95
renameYmlServiceFunction · 0.80
renameTsServiceFunction · 0.80
writeFileSyncFunction · 0.80
filterRequirementsFileFunction · 0.80
pipfileToRequirementsFunction · 0.80
saveServiceStateFunction · 0.80
generateCoreTemplateFunction · 0.80
saveInvocationResultFunction · 0.80
getIntrospectionMethod · 0.80

Calls 1

writeFileSyncFunction · 0.85

Tested by 1

updateServerlessYmlFunction · 0.64