(sessionStorePath string)
| 140 | } |
| 141 | |
| 142 | func loadOpenclawSessionCountFromFile(sessionStorePath string) (int, error) { |
| 143 | content, err := os.ReadFile(sessionStorePath) |
| 144 | if err != nil { |
| 145 | return 0, err |
| 146 | } |
| 147 | return parseOpenclawSessionCount(string(content)) |
| 148 | } |
| 149 | |
| 150 | func loadOpenclawOverviewJobCount(installPath string) (int, error) { |
| 151 | content, err := os.ReadFile(filepath.Join(installPath, openclawCronJobsRelativePath)) |
no test coverage detected