Expand description
Shared state and utilities for Git/* atomic handlers.
Modules§
- AsString
Array - Converts a JSON array value to
Vec<String>. - Clear
Pid - Removes a completed PID from the registry.
- Generated
- Generates a UUID v4 string for use as a git operation ID.
- Register
Pid - Registers a spawned PID under its OperationId.
- Resolve
Cwd - Resolves a raw cwd string to a PathBuf. Falls back to current dir.
- RunGit
- Spawns
git, registers the PID, awaits output, returns(exit_code, stdout, stderr). - Running
Processes - Returns the global PID registry for cancel-by-OperationId.
- TakePid
- Atomically removes and returns a PID (for cancel operations).