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 - Forward resource-state updates from the Vine gRPC notification to Sky. Group label/metadata is already stored from register_scm_resource_group.