From 8509727fe862d06b3371651454fcb1af54b4ab21 Mon Sep 17 00:00:00 2001 From: Anthony Fok Date: Thu, 10 Dec 2015 15:19:38 -0700 Subject: =?UTF-8?q?Add=20copyright=20header=20to=20that=20source=20files?= =?UTF-8?q?=20that=20don=E2=80=99t=20have=20one.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See #1646 --- source/content_directory_test.go | 13 +++++++++++++ source/file_test.go | 13 +++++++++++++ source/filesystem_test.go | 13 +++++++++++++ source/filesystem_unix_test.go | 13 +++++++++++++ source/filesystem_windows_test.go | 13 +++++++++++++ source/inmemory.go | 13 +++++++++++++ source/lazy_file_reader_test.go | 13 +++++++++++++ 7 files changed, 91 insertions(+) (limited to 'source') diff --git a/source/content_directory_test.go b/source/content_directory_test.go index 3f1369c33..839da5193 100644 --- a/source/content_directory_test.go +++ b/source/content_directory_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. All rights reserved. +// +// 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 source import ( diff --git a/source/file_test.go b/source/file_test.go index 6a4e456c6..43165b2c3 100644 --- a/source/file_test.go +++ b/source/file_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. All rights reserved. +// +// 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 source import ( diff --git a/source/filesystem_test.go b/source/filesystem_test.go index 95526415a..9a6b9fa88 100644 --- a/source/filesystem_test.go +++ b/source/filesystem_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. All rights reserved. +// +// 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 source import ( diff --git a/source/filesystem_unix_test.go b/source/filesystem_unix_test.go index 9674f282d..560d824ae 100644 --- a/source/filesystem_unix_test.go +++ b/source/filesystem_unix_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. All rights reserved. +// +// 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. + // +build linux darwin !windows package source diff --git a/source/filesystem_windows_test.go b/source/filesystem_windows_test.go index ee6185374..4662c5fd6 100644 --- a/source/filesystem_windows_test.go +++ b/source/filesystem_windows_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. All rights reserved. +// +// 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 source // diff --git a/source/inmemory.go b/source/inmemory.go index c30aa3836..ebd07686b 100644 --- a/source/inmemory.go +++ b/source/inmemory.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. All rights reserved. +// +// 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 source import ( diff --git a/source/lazy_file_reader_test.go b/source/lazy_file_reader_test.go index 60d6f49e3..8da6d0fc2 100644 --- a/source/lazy_file_reader_test.go +++ b/source/lazy_file_reader_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. All rights reserved. +// +// 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 source import ( -- cgit v1.2.3