MCPcopy Create free account
hub / github.com/compiler-explorer/compiler-explorer / moveFileToTemp

Method moveFileToTemp

lib/compilers/carbon.ts:83–87  ·  view source on GitHub ↗
(sourceFilePath: string)

Source from the content-addressed store, hash-verified

81 }
82
83 async moveFileToTemp(sourceFilePath: string): Promise<string> {
84 const tempFilePath = sourceFilePath + '.tmp';
85 await fs.rename(sourceFilePath, tempFilePath);
86 return tempFilePath;
87 }
88
89 override async runCompiler(
90 compiler: string,

Callers 1

runCompilerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected