summaryrefslogtreecommitdiffstats
path: root/modules/lfs
diff options
context:
space:
mode:
Diffstat (limited to 'modules/lfs')
-rw-r--r--modules/lfs/client.go3
-rw-r--r--modules/lfs/client_test.go3
-rw-r--r--modules/lfs/content_store.go3
-rw-r--r--modules/lfs/endpoint.go3
-rw-r--r--modules/lfs/endpoint_test.go3
-rw-r--r--modules/lfs/filesystem_client.go3
-rw-r--r--modules/lfs/http_client.go3
-rw-r--r--modules/lfs/http_client_test.go3
-rw-r--r--modules/lfs/pointer.go3
-rw-r--r--modules/lfs/pointer_scanner_gogit.go3
-rw-r--r--modules/lfs/pointer_scanner_nogogit.go3
-rw-r--r--modules/lfs/pointer_test.go3
-rw-r--r--modules/lfs/shared.go3
-rw-r--r--modules/lfs/transferadapter.go3
-rw-r--r--modules/lfs/transferadapter_test.go3
15 files changed, 15 insertions, 30 deletions
diff --git a/modules/lfs/client.go b/modules/lfs/client.go
index aaf61aefcf..f810e5c7aa 100644
--- a/modules/lfs/client.go
+++ b/modules/lfs/client.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 lfs
diff --git a/modules/lfs/client_test.go b/modules/lfs/client_test.go
index 88986f06d6..a1369301e0 100644
--- a/modules/lfs/client_test.go
+++ b/modules/lfs/client_test.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 lfs
diff --git a/modules/lfs/content_store.go b/modules/lfs/content_store.go
index 0eedf4de17..94277a6b8e 100644
--- a/modules/lfs/content_store.go
+++ b/modules/lfs/content_store.go
@@ -1,6 +1,5 @@
// Copyright 2020 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 lfs
diff --git a/modules/lfs/endpoint.go b/modules/lfs/endpoint.go
index 943966ed15..3ae3cf077b 100644
--- a/modules/lfs/endpoint.go
+++ b/modules/lfs/endpoint.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 lfs
diff --git a/modules/lfs/endpoint_test.go b/modules/lfs/endpoint_test.go
index 69f4768650..118abe2d4e 100644
--- a/modules/lfs/endpoint_test.go
+++ b/modules/lfs/endpoint_test.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 lfs
diff --git a/modules/lfs/filesystem_client.go b/modules/lfs/filesystem_client.go
index dc72981a9e..835551e00c 100644
--- a/modules/lfs/filesystem_client.go
+++ b/modules/lfs/filesystem_client.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 lfs
diff --git a/modules/lfs/http_client.go b/modules/lfs/http_client.go
index a1a3e7f363..ec0d6269bd 100644
--- a/modules/lfs/http_client.go
+++ b/modules/lfs/http_client.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 lfs
diff --git a/modules/lfs/http_client_test.go b/modules/lfs/http_client_test.go
index 8f6dcb1966..a8c7e379f6 100644
--- a/modules/lfs/http_client_test.go
+++ b/modules/lfs/http_client_test.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 lfs
diff --git a/modules/lfs/pointer.go b/modules/lfs/pointer.go
index 2a3a2116b4..b5e13d56a3 100644
--- a/modules/lfs/pointer.go
+++ b/modules/lfs/pointer.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 lfs
diff --git a/modules/lfs/pointer_scanner_gogit.go b/modules/lfs/pointer_scanner_gogit.go
index ed27cb1f55..f4302c23bc 100644
--- a/modules/lfs/pointer_scanner_gogit.go
+++ b/modules/lfs/pointer_scanner_gogit.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
//go:build gogit
diff --git a/modules/lfs/pointer_scanner_nogogit.go b/modules/lfs/pointer_scanner_nogogit.go
index d17f1f7b98..658b98feab 100644
--- a/modules/lfs/pointer_scanner_nogogit.go
+++ b/modules/lfs/pointer_scanner_nogogit.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
//go:build !gogit
diff --git a/modules/lfs/pointer_test.go b/modules/lfs/pointer_test.go
index 9cd8b15c9e..41b5459fef 100644
--- a/modules/lfs/pointer_test.go
+++ b/modules/lfs/pointer_test.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 lfs
diff --git a/modules/lfs/shared.go b/modules/lfs/shared.go
index d010b05ee5..6b2e55f2fb 100644
--- a/modules/lfs/shared.go
+++ b/modules/lfs/shared.go
@@ -1,6 +1,5 @@
// Copyright 2020 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 lfs
diff --git a/modules/lfs/transferadapter.go b/modules/lfs/transferadapter.go
index 2fdd92c810..649497aabb 100644
--- a/modules/lfs/transferadapter.go
+++ b/modules/lfs/transferadapter.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 lfs
diff --git a/modules/lfs/transferadapter_test.go b/modules/lfs/transferadapter_test.go
index b26d516c68..f86d2c54be 100644
--- a/modules/lfs/transferadapter_test.go
+++ b/modules/lfs/transferadapter_test.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 lfs