• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

yyle88 / osexec / 20189107651

13 Dec 2025 07:54AM UTC coverage: 35.088% (-2.5%) from 37.578%
20189107651

push

github

yangyile1990
Fix Warp typo to Wrap and reorganize code structure

- Fix typo: WarpOutputs→WrapOutputs, WarpMessage→WrapMessage, WrapResults, WrapOutcome
- Split utils.go into alias.go and debug.go
- Remove redundant aliases (CMC, OsCommand), retain just ExecConfig
- Use syntaxgo_reflect.GetPkgName() to get package name in sure.gen_test.go
- Update dependencies in go.mod/go.sum
- Standardize test packages to osexec_test naming convention

14 of 28 new or added lines in 5 files covered. (50.0%)

20 existing lines in 3 files now uncovered.

280 of 798 relevant lines covered (35.09%)

8.53 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

50.0
/debug.go
1
package osexec
2

3
var debugModeOpen = false
4

5
// SetDebugMode sets the package-wide debug mode
6
// SetDebugMode 设置包级别的调试模式
NEW
7
func SetDebugMode(enable bool) {
×
NEW
8
        debugModeOpen = enable
×
NEW
9
}
×
10

11
// GetDebugMode returns the package-wide debug mode status
12
// GetDebugMode 返回包级别的调试模式状态
13
func GetDebugMode() bool {
5✔
14
        return debugModeOpen
5✔
15
}
5✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc