File tree Expand file tree Collapse file tree 3 files changed +0
-89
lines changed Expand file tree Collapse file tree 3 files changed +0
-89
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -17,29 +17,6 @@ package types
17
17
18
18
import "golang.org/x/exp/slices"
19
19
20
- type UniqueStringQueue []string
21
-
22
- func (queue UniqueStringQueue ) Len () int { return len (queue ) }
23
- func (queue UniqueStringQueue ) Less (i , j int ) bool { return false }
24
- func (queue UniqueStringQueue ) Swap (i , j int ) { panic ("Who called me?!?" ) }
25
-
26
- func (queue * UniqueStringQueue ) Push (value string ) {
27
- if ! slices .Contains (* queue , value ) {
28
- * queue = append (* queue , value )
29
- }
30
- }
31
-
32
- func (queue * UniqueStringQueue ) Pop () interface {} {
33
- old := * queue
34
- x := old [0 ]
35
- * queue = old [1 :]
36
- return x
37
- }
38
-
39
- func (queue * UniqueStringQueue ) Empty () bool {
40
- return queue .Len () == 0
41
- }
42
-
43
20
type UniqueSourceFileQueue []SourceFile
44
21
45
22
func (queue UniqueSourceFileQueue ) Len () int { return len (queue ) }
Original file line number Diff line number Diff line change @@ -84,38 +84,6 @@ func (f *SourceFile) DepfilePath(ctx *Context) *paths.Path {
84
84
return buildRoot (ctx , f .Origin ).Join (f .RelativePath .String () + ".d" )
85
85
}
86
86
87
- type SketchFile struct {
88
- Name * paths.Path
89
- }
90
-
91
- type SketchFileSortByName []SketchFile
92
-
93
- func (s SketchFileSortByName ) Len () int {
94
- return len (s )
95
- }
96
-
97
- func (s SketchFileSortByName ) Swap (i , j int ) {
98
- s [i ], s [j ] = s [j ], s [i ]
99
- }
100
-
101
- func (s SketchFileSortByName ) Less (i , j int ) bool {
102
- return s [i ].Name .String () < s [j ].Name .String ()
103
- }
104
-
105
- type PlatforKeysRewrite struct {
106
- Rewrites []PlatforKeyRewrite
107
- }
108
-
109
- func (p * PlatforKeysRewrite ) Empty () bool {
110
- return len (p .Rewrites ) == 0
111
- }
112
-
113
- type PlatforKeyRewrite struct {
114
- Key string
115
- OldValue string
116
- NewValue string
117
- }
118
-
119
87
type LibraryResolutionResult struct {
120
88
Library * libraries.Library
121
89
NotUsedLibraries []* libraries.Library
You can’t perform that action at this time.
0 commit comments