Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/archlinux-de/pkgstats-cli
/ isCommentOrEmpty
Function
isCommentOrEmpty
internal/pacman/parser.go:125–127 ·
view source on GitHub ↗
(line string)
Source
from the content-addressed store, hash-verified
123
}
124
125
func
isCommentOrEmpty(line string) bool {
126
return
line ==
""
|| strings.HasPrefix(line,
"#"
)
127
}
128
129
func
isIncludeLine(line string) bool {
130
return
strings.HasPrefix(line,
"Include"
)
Callers
1
readConfigFile
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected