Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
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
writeFile
Method · 0.95
renameYmlService
Function · 0.80
renameTsService
Function · 0.80
writeFileSync
Function · 0.80
filterRequirementsFile
Function · 0.80
pipfileToRequirements
Function · 0.80
pyprojectTomlToRequirements
Function · 0.80
saveServiceState
Function · 0.80
generateCoreTemplate
Function · 0.80
saveInvocationResult
Function · 0.80
getIntrospection
Method · 0.80
rename-service.test.js
File · 0.80
Calls
1
writeFileSync
Function · 0.85
Tested by
1
updateServerlessYml
Function · 0.64