Skip to content

Commit

Permalink
fix spdx
Browse files Browse the repository at this point in the history
  • Loading branch information
boyter committed Jun 11, 2020
1 parent f96f37a commit 465821f
Show file tree
Hide file tree
Showing 42 changed files with 49 additions and 80 deletions.
4 changes: 2 additions & 2 deletions file/file.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Package file provides file operations specific to code repositories
// such as walking the file tree obeying .ignore and .gitignore files
// or looking for the root directory assuming already in a git project
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense

// SPDX-License-Identifier: MIT OR Unlicense

package file

Expand Down
3 changes: 1 addition & 2 deletions file/file_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package file

Expand Down
5 changes: 2 additions & 3 deletions file/hidden.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// +build !windows
// SPDX-License-Identifier: MIT OR Unlicense
//+build !windows

package file

Expand Down
5 changes: 2 additions & 3 deletions file/hidden_windows.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// +build windows
// SPDX-License-Identifier: MIT OR Unlicense
//+build windows

package file

Expand Down
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package main

import (
Expand Down
3 changes: 1 addition & 2 deletions processor/arguments.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/common.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/common_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/constants_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/helpers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/helpers_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/http.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/http_helpers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
2 changes: 2 additions & 0 deletions processor/http_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Unlicense

package processor

import (
Expand Down
3 changes: 1 addition & 2 deletions processor/parser.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
2 changes: 2 additions & 0 deletions processor/parser/lexer.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Unlicense

package parser

import (
Expand Down
2 changes: 2 additions & 0 deletions processor/parser/lexer_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: MIT OR Unlicense

package parser

import (
Expand Down
3 changes: 1 addition & 2 deletions processor/parser_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/processor.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/processor_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/result_ranker.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/result_ranker_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/structs.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/tui.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/tui_helpers.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/tui_helpers_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/tui_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/worker_file.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/worker_file_pdf.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/worker_searcher.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/worker_summarize.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions processor/worker_summarize_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package processor

Expand Down
3 changes: 1 addition & 2 deletions str/common.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package str

Expand Down
3 changes: 1 addition & 2 deletions str/common_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package str

Expand Down
3 changes: 1 addition & 2 deletions str/constants_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package str

Expand Down
3 changes: 1 addition & 2 deletions str/fuzz.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package str

Expand Down
3 changes: 1 addition & 2 deletions str/highlight.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package str

Expand Down
3 changes: 1 addition & 2 deletions str/highlight_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package str

Expand Down
3 changes: 1 addition & 2 deletions str/index.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package str

Expand Down
3 changes: 1 addition & 2 deletions str/index_benchmark_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package str

Expand Down
3 changes: 1 addition & 2 deletions str/index_ignorecase_benchmark_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package str

Expand Down
3 changes: 1 addition & 2 deletions str/index_test.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// SPDX-License-Identifier: MIT
// SPDX-License-Identifier: Unlicense
// SPDX-License-Identifier: MIT OR Unlicense

package str

Expand Down

0 comments on commit 465821f

Please sign in to comment.