aboutsummaryrefslogtreecommitdiffstats
path: root/services/repository/files
diff options
context:
space:
mode:
Diffstat (limited to 'services/repository/files')
-rw-r--r--services/repository/files/cherry_pick.go3
-rw-r--r--services/repository/files/commit.go3
-rw-r--r--services/repository/files/content.go3
-rw-r--r--services/repository/files/content_test.go3
-rw-r--r--services/repository/files/delete.go3
-rw-r--r--services/repository/files/diff.go3
-rw-r--r--services/repository/files/diff_test.go3
-rw-r--r--services/repository/files/file.go3
-rw-r--r--services/repository/files/file_test.go3
-rw-r--r--services/repository/files/patch.go3
-rw-r--r--services/repository/files/temp_repo.go3
-rw-r--r--services/repository/files/tree.go3
-rw-r--r--services/repository/files/tree_test.go3
-rw-r--r--services/repository/files/update.go3
-rw-r--r--services/repository/files/upload.go3
15 files changed, 15 insertions, 30 deletions
diff --git a/services/repository/files/cherry_pick.go b/services/repository/files/cherry_pick.go
index a30d4f6025..6bc67e2636 100644
--- a/services/repository/files/cherry_pick.go
+++ b/services/repository/files/cherry_pick.go
@@ -1,6 +1,5 @@
// Copyright 2021 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/commit.go b/services/repository/files/commit.go
index bc5a4c8ed3..c49b03d608 100644
--- a/services/repository/files/commit.go
+++ b/services/repository/files/commit.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/content.go b/services/repository/files/content.go
index 34c8aeec25..a311625f31 100644
--- a/services/repository/files/content.go
+++ b/services/repository/files/content.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/content_test.go b/services/repository/files/content_test.go
index 24fcd6c4c5..a43b71cf31 100644
--- a/services/repository/files/content_test.go
+++ b/services/repository/files/content_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/delete.go b/services/repository/files/delete.go
index f098052ad8..faa60bb3ba 100644
--- a/services/repository/files/delete.go
+++ b/services/repository/files/delete.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/diff.go b/services/repository/files/diff.go
index dbe1bef52b..373249b114 100644
--- a/services/repository/files/diff.go
+++ b/services/repository/files/diff.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/diff_test.go b/services/repository/files/diff_test.go
index 310308ca88..621816e97d 100644
--- a/services/repository/files/diff_test.go
+++ b/services/repository/files/diff_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/file.go b/services/repository/files/file.go
index c6c626c9ce..ddd64a5399 100644
--- a/services/repository/files/file.go
+++ b/services/repository/files/file.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/file_test.go b/services/repository/files/file_test.go
index e158c63de2..e1c7d5d7fb 100644
--- a/services/repository/files/file_test.go
+++ b/services/repository/files/file_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/patch.go b/services/repository/files/patch.go
index 2be01f25be..b5eef8c091 100644
--- a/services/repository/files/patch.go
+++ b/services/repository/files/patch.go
@@ -1,6 +1,5 @@
// Copyright 2021 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/temp_repo.go b/services/repository/files/temp_repo.go
index b96d9e7b3d..1f3375cdcc 100644
--- a/services/repository/files/temp_repo.go
+++ b/services/repository/files/temp_repo.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/tree.go b/services/repository/files/tree.go
index 59e5690977..1aa6d0df36 100644
--- a/services/repository/files/tree.go
+++ b/services/repository/files/tree.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/tree_test.go b/services/repository/files/tree_test.go
index e900480d35..a500dbdb22 100644
--- a/services/repository/files/tree_test.go
+++ b/services/repository/files/tree_test.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/update.go b/services/repository/files/update.go
index 1721b00b01..f7a41ef24c 100644
--- a/services/repository/files/update.go
+++ b/services/repository/files/update.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files
diff --git a/services/repository/files/upload.go b/services/repository/files/upload.go
index 3728780991..0ada3885b1 100644
--- a/services/repository/files/upload.go
+++ b/services/repository/files/upload.go
@@ -1,6 +1,5 @@
// Copyright 2019 The Gitea Authors. All rights reserved.
-// Use of this source code is governed by a MIT-style
-// license that can be found in the LICENSE file.
+// SPDX-License-Identifier: MIT
package files