Lines Matching refs:tempDir
149 tempDir := filepath.Join(sandboxesRoot, "sbox", hex.EncodeToString(hash.Sum(nil)))
151 err = os.RemoveAll(tempDir)
155 err = os.MkdirAll(tempDir, 0777)
167 os.RemoveAll(tempDir)
176 localTempDir := tempDir
291 func runCommand(command *sbox_proto.Command, tempDir string, commandIndex int) (depFile string, err…
303 pathToTempDirInSbox := tempDir
308 err = os.MkdirAll(tempDir, 0777)
310 return "", fmt.Errorf("failed to create %q: %w", tempDir, err)
314 err = copyFiles(command.CopyBefore, "", tempDir, requireFromExists, alwaysWrite)
318 err = copyRspFiles(command.RspFiles, tempDir, pathToTempDirInSbox)
334 err = makeOutputDirs(command.CopyAfter, tempDir)
340 scriptPath := joinPath(tempDir, scriptName)
353 cmd.Dir = tempDir
377 copyFiles(command.CopyAfter, tempDir, "", allowFromNotExists, writeType(writeIfChanged))
388 tempDir, scriptPath)
398 err = validateOutputFiles(command.CopyAfter, tempDir, outputDir, rawCommand)
404 err = moveFiles(command.CopyAfter, tempDir, "", writeType(writeIfChanged))