Home
last modified time | relevance | path

Searched refs:ZipArtifactFile (Results 1 – 6 of 6) sorted by relevance

/build/soong/cmd/diff_target_files/
Dcompare_test.go24 zipArtifactFile := func(name string, crc32 uint32, size uint64) *ZipArtifactFile {
25 return &ZipArtifactFile{
47 a, b []*ZipArtifactFile
52 a: []*ZipArtifactFile{x0, y0, z0},
53 b: []*ZipArtifactFile{x0, y0, z0},
58 a: []*ZipArtifactFile{x0, y0, z0},
59 b: []*ZipArtifactFile{y0, z0},
60 diff: zipDiff{nil, []*ZipArtifactFile{x0}, nil},
64 a: []*ZipArtifactFile{x0, y0, z0},
65 b: []*ZipArtifactFile{x0, z0},
[all …]
Dallow_list_test.go24 func bytesToZipArtifactFile(name string, data []byte) *ZipArtifactFile {
43 return &ZipArtifactFile{r.File[0]}
75 onlyInA: []*ZipArtifactFile{f1a, f2},
80 onlyInA: []*ZipArtifactFile{f2},
87 onlyInA: []*ZipArtifactFile{f1a, f2},
97 modified: [][2]*ZipArtifactFile{{f1a, f1b}},
107 modified: [][2]*ZipArtifactFile{{f1a, f1b}},
Dzip_artifact.go31 Files() ([]*ZipArtifactFile, error)
40 files []*ZipArtifactFile
50 var files []*ZipArtifactFile
52 files = append(files, &ZipArtifactFile{zf})
62 func (z *localZipArtifact) Files() ([]*ZipArtifactFile, error) {
73 type ZipArtifactFile struct { struct
79 func (zf *ZipArtifactFile) Extract(ctx context.Context, dir string, argument
Dallow_list.go104 func filterModifiedPaths(l [][2]*ZipArtifactFile, allowLists []allowList) ([][2]*ZipArtifactFile, e… argument
129 func filterNewPaths(l []*ZipArtifactFile, allowLists []allowList) ([]*ZipArtifactFile, error) { argument
150 func diffIgnoringMatchingLines(a *ZipArtifactFile, b *ZipArtifactFile, ignoreMatchingLines []string… argument
162 filter := func(z *ZipArtifactFile) ([]byte, error) {
Dtarget_files.go46 func filterTargetZipFiles(files []*ZipArtifactFile, artifact string, patterns []string) ([]*ZipArti… argument
47 var ret []*ZipArtifactFile
Dcompare.go53 modified [][2]*ZipArtifactFile
54 onlyInA, onlyInB []*ZipArtifactFile
100 func diffTargetFilesLists(a, b []*ZipArtifactFile) zipDiff { argument
109 diff.modified = append(diff.modified, [2]*ZipArtifactFile{a[i], b[j]})