MCPcopy 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
125func isCommentOrEmpty(line string) bool {
126 return line == "" || strings.HasPrefix(line, "#")
127}
128
129func isIncludeLine(line string) bool {
130 return strings.HasPrefix(line, "Include")

Callers 1

readConfigFileMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected