Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/GoogleCloudPlatform/nodejs-docs-samples
/ execSync
Function
execSync
compute/test/disks.test.js:31–31 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
29
const
disksClient =
new
compute.DisksClient();
30
31
const
execSync = cmd => cp.execSync(cmd, {encoding:
'utf-8'
});
32
33
const
createDisk =
async
(projectId, zone, diskName, sourceImage) => {
34
const
[response] =
await
disksClient.insert({
Callers
1
disks.test.js
File · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected