Expand description
Source-control-management domain handlers for CocoonService.
RegisterScmProvider::Fn, UpdateScmGroup::Fn, GitExec::Fn.
Modules§
- GitExec
- Spawn
gitwith the requested args insiderepository_path(or cwd if unset). stdout lines are returned verbatim; stderr lines are prefixed withstderr:so the extension can differentiate. - Register
ScmProvider - Register a Cocoon SCM provider in
ApplicationStateAND route through theSourceControlManagementProvidertrait so SCM state is materialised inApplicationState::SourceControl(the surface Sky’s SCM view binds to). The prior direct Sky emit bypassed state tracking - providers registered by gitlens/svn/etc. never appeared in the SCM view until aUpdateScmGroupcall landed. - Update
ScmGroup - Update a registered SCM provider’s resource-state group via the trait (which mutates state and emits the deduplicated UI event). Falls back to a direct Sky emit if the trait wiring is unavailable.