summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAnthony Fok <foka@debian.org>2015-12-10 15:19:38 -0700
committerAnthony Fok <foka@debian.org>2015-12-10 15:19:38 -0700
commit8509727fe862d06b3371651454fcb1af54b4ab21 (patch)
tree4220aab1df048bf490000d61a991dbf088ffb823 /source
parente29ede70556c2b5207032d30351f3b53a298ca0c (diff)
Add copyright header to that source files that don’t have one.
See #1646
Diffstat (limited to 'source')
-rw-r--r--source/content_directory_test.go13
-rw-r--r--source/file_test.go13
-rw-r--r--source/filesystem_test.go13
-rw-r--r--source/filesystem_unix_test.go13
-rw-r--r--source/filesystem_windows_test.go13
-rw-r--r--source/inmemory.go13
-rw-r--r--source/lazy_file_reader_test.go13
7 files changed, 91 insertions, 0 deletions
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 (