Versions in this module Expand all Collapse all v0 v0.0.1 Jan 13, 2026 Changes in this version + const LogsDirName + const StateDirName + const StateFilename + func FilterEnvForDisplay(env map[string]string, maxVars int) map[string]string + func LogsDir(repoRoot string) string + func ProcessAlive(pid int) bool + func Remove(repoRoot string) error + func SanitizeEnv(env map[string]string) map[string]string + func Save(repoRoot string, s *State) error + func StatePath(repoRoot string) string + func TailLines(path string, tailLines int, maxBytes int64) ([]string, error) + func WriteExitInfo(path string, info ExitInfo) error + type ExitInfo struct + Error string + ExitCode *int + ExitedAt time.Time + PID int + Service string + Signal string + StartedAt time.Time + StderrTail []string + StdoutTail []string + func ReadExitInfo(path string) (*ExitInfo, error) + type ServiceRecord struct + Command []string + Cwd string + Env map[string]string + ExitInfo string + HealthAddress string + HealthType string + HealthURL string + Name string + PID int + StartedAt time.Time + StderrLog string + StdoutLog string + type State struct + CreatedAt time.Time + RepoRoot string + Services []ServiceRecord + func Load(repoRoot string) (*State, error)