MCPcopy Create free account
hub / github.com/archlinux-de/pkgstats-cli / Parse

Function Parse

internal/pacman/parser.go:31–38  ·  view source on GitHub ↗
(pacmanConfPath string)

Source from the content-addressed store, hash-verified

29}
30
31func Parse(pacmanConfPath string) (*Pacman, error) {
32 conf, err := newParser().parseConfigFile(pacmanConfPath, defaultDBPath)
33 if err != nil {
34 return nil, err
35 }
36
37 return &Pacman{config: conf}, nil
38}
39
40func newParser() *parser {
41 return &parser{

Calls 2

newParserFunction · 0.85
parseConfigFileMethod · 0.80