Home
last modified time | relevance | path

Searched refs:allowLists (Results 1 – 3 of 3) sorted by relevance

/build/soong/cmd/diff_target_files/
Dallow_list.go33 func parseAllowLists(allowLists []string, allowListFiles []string) ([]allowList, error) {
61 for _, s := range allowLists {
91 var allowLists []allowList
94 allowLists = append(allowLists, allowList{
101 return allowLists, err
104 func filterModifiedPaths(l [][2]*ZipArtifactFile, allowLists []allowList) ([][2]*ZipArtifactFile, e…
107 for _, w := range allowLists {
129 func filterNewPaths(l []*ZipArtifactFile, allowLists []allowList) ([]*ZipArtifactFile, error) {
132 for _, w := range allowLists {
195 func applyAllowLists(diff zipDiff, allowLists []allowList) (zipDiff, error) {
[all …]
Dallow_list_test.go63 allowLists []allowList
77 allowLists: []allowList{{path: "dir/f1"}},
89 allowLists: []allowList{{path: "dir/*"}},
99 allowLists: []allowList{{path: "dir/*"}},
109 allowLists: []allowList{{path: "dir/*", ignoreMatchingLines: []string{"foo: .*"}}},
116 got, err := applyAllowLists(tt.args.diff, tt.args.allowLists)
Ddiff_target_files.go25allowLists = newMultiString("allowlist", "allowlist patterns in the form <pattern>[:<regex of … var
50 allowLists, err := parseAllowLists(*allowLists, *allowListFiles)
70 diff, err := compareTargetFiles(priZip, refZip, targetFilesPattern, allowLists, *filters)