Skip to main content

Module git_watch

Module git_watch 

Source
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§

SessionGit

Functions§

exited
The session’s process exited.
provider_hint
The provider of a live session (from the frame publisher; running may not know it).
read_repo
Branch / head / dirty of the repository containing dir.
read_repo_full
Like read_repo plus ahead of the default branch.
running
The session’s process started.
snapshot
One snapshot of every live session that sits in a repository.