MCPcopy Index your code
hub / github.com/aptly-dev/aptly / Parse

Function Parse

query/query.go:25–29  ·  view source on GitHub ↗

* Query language resembling Debian dependencies and reprepro queries: http://mirrorer.alioth.debian.org/reprepro.1.html Query := A | A '|' Query A := B | B ',' A B := C | '!' B C := '(' Query ')' | D D := | _ _ field := <packa

(query string)

Source from the content-addressed store, hash-verified

23
24// Parse parses input package query into PackageQuery tree ready for evaluation
25func Parse(query string) (result deb.PackageQuery, err error) {
26 l, _ := lex("", query)
27 result, err = parse(l)
28 return
29}

Callers 15

aptlyPackageShowFunction · 0.92
aptlyMirrorCreateFunction · 0.92
aptlySnapshotPullFunction · 0.92
aptlyRepoRemoveFunction · 0.92
aptlyRepoIncludeFunction · 0.92
aptlySnapshotFilterFunction · 0.92
aptlyPackageSearchFunction · 0.92
aptlyMirrorUpdateFunction · 0.92
aptlyRepoMoveCopyImportFunction · 0.92
aptlyMirrorEditFunction · 0.92
apiReposCopyPackageFunction · 0.92

Calls 2

lexFunction · 0.85
parseFunction · 0.85

Tested by

no test coverage detected