Skip to main content

Module Shared

Module Shared 

Source
Expand description

Shared helpers for the Git/* atomic handlers. Holds:

  • RunningProcesses static - the cancel-by-OperationId pid map. Survives across tauri::invoke calls so a different invoke can cancel an in-flight git op.
  • RunGit - spawn git, register the pid, await the output, clear the pid, return (exit, stdout, stderr).
  • AsStringArray, Generated, ResolveCwd - small parsers used by every entry point.

Functionsยง

AsStringArray
ClearPid
Generated
RegisterPid
ResolveCwd
RunGit
RunningProcesses
TakePid