From b4d39194277d2ea103879ad39d5a868b2352554e Mon Sep 17 00:00:00 2001 From: Avi Deitcher Date: Thu, 9 Sep 2021 08:49:48 +0300 Subject: [PATCH] restore missing copyright headers Signed-off-by: Avi Deitcher --- examples/advanced/advanced.go | 14 ++++++++++++++ examples/advanced/file_unix.go | 16 ++++++++++++++++ examples/advanced/file_windows.go | 14 ++++++++++++++ pkg/content/file.go | 15 +++++++++++++++ pkg/content/memory.go | 15 +++++++++++++++ pkg/content/oci.go | 14 ++++++++++++++ pkg/content/readerat.go | 14 ++++++++++++++ pkg/content/registry.go | 14 ++++++++++++++ pkg/oras/copy.go | 14 ++++++++++++++ pkg/oras/opts.go | 14 ++++++++++++++ pkg/oras/provider.go | 14 ++++++++++++++ pkg/target/target.go | 14 ++++++++++++++ 12 files changed, 172 insertions(+) diff --git a/examples/advanced/advanced.go b/examples/advanced/advanced.go index 9c4428c0..dbc043ca 100644 --- a/examples/advanced/advanced.go +++ b/examples/advanced/advanced.go @@ -1,3 +1,17 @@ +/* +Copyright The ORAS Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main import ( diff --git a/examples/advanced/file_unix.go b/examples/advanced/file_unix.go index 0cbb9401..9fd5e780 100644 --- a/examples/advanced/file_unix.go +++ b/examples/advanced/file_unix.go @@ -1,5 +1,21 @@ +//go:build !windows // +build !windows +/* +Copyright The ORAS Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package main import "strings" diff --git a/examples/advanced/file_windows.go b/examples/advanced/file_windows.go index 88c4fd08..fd880a5b 100644 --- a/examples/advanced/file_windows.go +++ b/examples/advanced/file_windows.go @@ -1,3 +1,17 @@ +/* +Copyright The ORAS Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package main import ( diff --git a/pkg/content/file.go b/pkg/content/file.go index b51ec1a4..c4b74c97 100644 --- a/pkg/content/file.go +++ b/pkg/content/file.go @@ -1,3 +1,18 @@ +/* +Copyright The ORAS Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package content import ( diff --git a/pkg/content/memory.go b/pkg/content/memory.go index 39981cf8..e8401be3 100644 --- a/pkg/content/memory.go +++ b/pkg/content/memory.go @@ -1,3 +1,18 @@ +/* +Copyright The ORAS Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ + package content import ( diff --git a/pkg/content/oci.go b/pkg/content/oci.go index 4a67436c..15124496 100644 --- a/pkg/content/oci.go +++ b/pkg/content/oci.go @@ -1,3 +1,17 @@ +/* +Copyright The ORAS Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package content import ( diff --git a/pkg/content/readerat.go b/pkg/content/readerat.go index 6e423d27..7e2cb9b8 100644 --- a/pkg/content/readerat.go +++ b/pkg/content/readerat.go @@ -1,3 +1,17 @@ +/* +Copyright The ORAS Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package content import ( diff --git a/pkg/content/registry.go b/pkg/content/registry.go index ea611cc1..aa22567c 100644 --- a/pkg/content/registry.go +++ b/pkg/content/registry.go @@ -1,3 +1,17 @@ +/* +Copyright The ORAS Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package content import ( diff --git a/pkg/oras/copy.go b/pkg/oras/copy.go index e07ad22e..88463fa4 100644 --- a/pkg/oras/copy.go +++ b/pkg/oras/copy.go @@ -1,3 +1,17 @@ +/* +Copyright The ORAS Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package oras import ( diff --git a/pkg/oras/opts.go b/pkg/oras/opts.go index f2f2e86a..272ecb89 100644 --- a/pkg/oras/opts.go +++ b/pkg/oras/opts.go @@ -1,3 +1,17 @@ +/* +Copyright The ORAS Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package oras import ( diff --git a/pkg/oras/provider.go b/pkg/oras/provider.go index 2ce528aa..db16d75f 100644 --- a/pkg/oras/provider.go +++ b/pkg/oras/provider.go @@ -1,3 +1,17 @@ +/* +Copyright The ORAS Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package oras import ( diff --git a/pkg/target/target.go b/pkg/target/target.go index 16734f2a..4398f14e 100644 --- a/pkg/target/target.go +++ b/pkg/target/target.go @@ -1,3 +1,17 @@ +/* +Copyright The ORAS Authors. +Licensed under the Apache License, Version 2.0 (the "License"); +you may not use this file except in compliance with the License. +You may obtain a copy of the License at + +http://www.apache.org/licenses/LICENSE-2.0 + +Unless required by applicable law or agreed to in writing, software +distributed under the License is distributed on an "AS IS" BASIS, +WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +See the License for the specific language governing permissions and +limitations under the License. +*/ package target import (