Expand description
Git state of live sessions for the task manager: branch, head and dirty count of the
directory each session’s process runs in. Read with git itself (no parsing of .git);
a session outside a repository reports nothing. Unix reads the cwd from /proc/<pid>/cwd;
elsewhere the watcher reports nothing until a portable cwd source exists.
Structs§
- Lifecycle
- A session’s lifecycle as the task manager sees it (
task.session_state). - Session
Git
Functions§
- exited
- The session’s process exited.
- provider_
hint - The provider of a live session (from the frame publisher;
runningmay not know it). - read_
repo - Branch / head / dirty of the repository containing
dir. - read_
repo_ full - Like
read_repoplusaheadof the default branch. - read_
session_ repo - The git state of the repository a session worked in (
diritself, or thetask-*repository one level below it), in thetask.session_gitshape. - running
- The session’s process started.
- session_
key - The keystore issued the identity of proxy session
<incarnation>-<instance>: report the live session again with its public key. - set_
lifecycle_ sink - Install the lifecycle sink (once, at startup). Without one, nothing is sent.
- snapshot
- One snapshot of every live session that sits in a repository.