summaryrefslogtreecommitdiffhomepage
path: root/transform
diff options
context:
space:
mode:
authorAnthony Fok <[email protected]>2015-12-10 15:19:38 -0700
committerAnthony Fok <[email protected]>2015-12-10 15:19:38 -0700
commit8509727fe862d06b3371651454fcb1af54b4ab21 (patch)
tree4220aab1df048bf490000d61a991dbf088ffb823 /transform
parente29ede70556c2b5207032d30351f3b53a298ca0c (diff)
downloadhugo-8509727fe862d06b3371651454fcb1af54b4ab21.tar.gz
hugo-8509727fe862d06b3371651454fcb1af54b4ab21.zip
Add copyright header to that source files that don’t have one.
See #1646
Diffstat (limited to 'transform')
-rw-r--r--transform/absurl.go13
-rw-r--r--transform/absurlreplacer.go13
-rw-r--r--transform/chain.go13
-rw-r--r--transform/chain_test.go13
-rw-r--r--transform/livereloadinject.go13
-rw-r--r--transform/livereloadinject_test.go13
6 files changed, 78 insertions, 0 deletions
diff --git a/transform/absurl.go b/transform/absurl.go
index 7f06056f0..1a98a592c 100644
--- a/transform/absurl.go
+++ b/transform/absurl.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 transform
var ar *absURLReplacer = newAbsURLReplacer()
diff --git a/transform/absurlreplacer.go b/transform/absurlreplacer.go
index b9a8f3a69..b834bcdcc 100644
--- a/transform/absurlreplacer.go
+++ b/transform/absurlreplacer.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 transform
import (
diff --git a/transform/chain.go b/transform/chain.go
index 4019dca25..b566f54fa 100644
--- a/transform/chain.go
+++ b/transform/chain.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 transform
import (
diff --git a/transform/chain_test.go b/transform/chain_test.go
index 808c20121..ae7ef2caa 100644
--- a/transform/chain_test.go
+++ b/transform/chain_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 transform
import (
diff --git a/transform/livereloadinject.go b/transform/livereloadinject.go
index 2fb130c17..789ff9d22 100644
--- a/transform/livereloadinject.go
+++ b/transform/livereloadinject.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 transform
import (
diff --git a/transform/livereloadinject_test.go b/transform/livereloadinject_test.go
index 605f65954..0c47cb109 100644
--- a/transform/livereloadinject_test.go
+++ b/transform/livereloadinject_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 transform
import (