Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 35f79c37 authored by Colin Cross's avatar Colin Cross
Browse files

Run gofmt on compliance

Test: builds
Change-Id: I404b138faac0db9a92201be6163b19d9e6bff810
parent 2546febc
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -51,7 +51,6 @@ var (
	failNoLicenses    = fmt.Errorf("No licenses")
)


// byError orders conflicts by error string
type byError []compliance.SourceSharePrivacyConflict

+18 −21
Original line number Diff line number Diff line
@@ -143,7 +143,6 @@ func LicenseConditionSetFromNames(tn *TargetNode, names ...string) LicenseCondit
	return cs
}


// Resolution happens in three phases:
//
// 1. A bottom-up traversal propagates (restricted) license conditions up to
@@ -182,7 +181,6 @@ func LicenseConditionSetFromNames(tn *TargetNode, names ...string) LicenseCondit
// Not all restricted licenses are create equal. Some have special rules or
// exceptions. e.g. LGPL or "with classpath excption".


// depConditionsPropagatingToTarget returns the conditions which propagate up an
// edge from dependency to target.
//
@@ -270,7 +268,6 @@ func conditionsAttachingAcrossEdge(lg *LicenseGraph, e *TargetEdge, universe Lic
	return result
}


// edgeIsDynamicLink returns true for edges representing shared libraries
// linked dynamically at runtime.
func edgeIsDynamicLink(e *TargetEdge) bool {
+0 −2
Original line number Diff line number Diff line
@@ -65,7 +65,6 @@ func (rs ResolutionSet) AttachesTo() TargetNodeList {
	return result
}


// AttachesToTarget returns true if the set contains conditions that
// are `attachedTo`.
func (rs ResolutionSet) AttachesToTarget(target *TargetNode) bool {
@@ -73,7 +72,6 @@ func (rs ResolutionSet) AttachesToTarget(target *TargetNode) bool {
	return isPresent
}


// Resolutions returns the list of resolutions that `attachedTo`
// target must resolve. Returns empty list if no conditions apply.
func (rs ResolutionSet) Resolutions(attachesTo *TargetNode) ResolutionList {
+30 −31
Original line number Diff line number Diff line
@@ -219,7 +219,6 @@ func (l byEdge) Less(i, j int) bool {
	return l[i].target < l[j].target
}


// annotated describes annotated test data edges to define test graphs.
type annotated struct {
	target, dep string
+9 −9

File changed.

Contains only whitespace changes.

+3 −3

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+16 −16

File changed.

Contains only whitespace changes.

+4 −4

File changed.

Contains only whitespace changes.

+75 −75

File changed.

Contains only whitespace changes.

+90 −90

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+16 −16

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

+69 −69

File changed.

Contains only whitespace changes.

+1 −1

File changed.

Contains only whitespace changes.

Loading