MCPcopy Index your code
hub / github.com/callstack/agent-device / capture

Function capture

src/platforms/linux/tool-provider.ts:185–189  ·  view source on GitHub ↗
(outPath)

Source from the content-addressed store, hash-verified

183): LinuxScreenshotProvider {
184 return {
185 async capture(outPath) {
186 const tool = await resolveLocalLinuxTool(whichCommand, LOCAL_SCREENSHOT_TOOLS);
187 const command = LOCAL_SCREENSHOT_COMMANDS[tool](outPath);
188 await runCommand(command.cmd, command.args, command.options);
189 },
190 };
191}
192

Callers

nothing calls this directly

Calls 2

resolveLocalLinuxToolFunction · 0.85
runCommandFunction · 0.50

Tested by

no test coverage detected