From 4679383728fe331fc8a6b46036a27b8f818d9bc0 Mon Sep 17 00:00:00 2001 From: "hashicorp-copywrite[bot]" <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Date: Tue, 28 Feb 2023 10:30:09 +0100 Subject: [COMPLIANCE] Add Copyright and License Headers (#586) * [COMPLIANCE] Add Copyright and License Headers * add copywrite file and revert headers in testdata --------- Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Co-authored-by: Liam Cervante --- hclwrite/ast.go | 3 +++ hclwrite/ast_attribute.go | 3 +++ hclwrite/ast_block.go | 3 +++ hclwrite/ast_block_test.go | 3 +++ hclwrite/ast_body.go | 3 +++ hclwrite/ast_body_test.go | 3 +++ hclwrite/ast_expression.go | 3 +++ hclwrite/ast_test.go | 3 +++ hclwrite/doc.go | 3 +++ hclwrite/examples_test.go | 3 +++ hclwrite/format.go | 3 +++ hclwrite/format_test.go | 3 +++ hclwrite/fuzz/fuzz_test.go | 3 +++ hclwrite/generate.go | 3 +++ hclwrite/generate_test.go | 3 +++ hclwrite/native_node_sorter.go | 3 +++ hclwrite/node.go | 3 +++ hclwrite/parser.go | 3 +++ hclwrite/parser_test.go | 3 +++ hclwrite/public.go | 3 +++ hclwrite/round_trip_test.go | 3 +++ hclwrite/tokens.go | 3 +++ 22 files changed, 66 insertions(+) (limited to 'hclwrite') diff --git a/hclwrite/ast.go b/hclwrite/ast.go index 0904165..d2f9dae 100644 --- a/hclwrite/ast.go +++ b/hclwrite/ast.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/ast_attribute.go b/hclwrite/ast_attribute.go index 609419f..3edc68c 100644 --- a/hclwrite/ast_attribute.go +++ b/hclwrite/ast_attribute.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/ast_block.go b/hclwrite/ast_block.go index edabb26..91e7d4a 100644 --- a/hclwrite/ast_block.go +++ b/hclwrite/ast_block.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/ast_block_test.go b/hclwrite/ast_block_test.go index 8129040..0760001 100644 --- a/hclwrite/ast_block_test.go +++ b/hclwrite/ast_block_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/ast_body.go b/hclwrite/ast_body.go index 119f53e..6321509 100644 --- a/hclwrite/ast_body.go +++ b/hclwrite/ast_body.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/ast_body_test.go b/hclwrite/ast_body_test.go index 5336786..1e23523 100644 --- a/hclwrite/ast_body_test.go +++ b/hclwrite/ast_body_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/ast_expression.go b/hclwrite/ast_expression.go index 073c308..77b9f78 100644 --- a/hclwrite/ast_expression.go +++ b/hclwrite/ast_expression.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/ast_test.go b/hclwrite/ast_test.go index 08f7801..12bb054 100644 --- a/hclwrite/ast_test.go +++ b/hclwrite/ast_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/doc.go b/hclwrite/doc.go index 56d5b77..57ec37e 100644 --- a/hclwrite/doc.go +++ b/hclwrite/doc.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + // Package hclwrite deals with the problem of generating HCL configuration // and of making specific surgical changes to existing HCL configurations. // diff --git a/hclwrite/examples_test.go b/hclwrite/examples_test.go index f848ce2..f61d782 100644 --- a/hclwrite/examples_test.go +++ b/hclwrite/examples_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite_test import ( diff --git a/hclwrite/format.go b/hclwrite/format.go index dca247e..d5f974c 100644 --- a/hclwrite/format.go +++ b/hclwrite/format.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/format_test.go b/hclwrite/format_test.go index 037157a..e64b551 100644 --- a/hclwrite/format_test.go +++ b/hclwrite/format_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/fuzz/fuzz_test.go b/hclwrite/fuzz/fuzz_test.go index fa29af9..573741c 100644 --- a/hclwrite/fuzz/fuzz_test.go +++ b/hclwrite/fuzz/fuzz_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package fuzzhclwrite import ( diff --git a/hclwrite/generate.go b/hclwrite/generate.go index 6f6a2e6..678d539 100644 --- a/hclwrite/generate.go +++ b/hclwrite/generate.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/generate_test.go b/hclwrite/generate_test.go index 06fa094..87dffec 100644 --- a/hclwrite/generate_test.go +++ b/hclwrite/generate_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/native_node_sorter.go b/hclwrite/native_node_sorter.go index cedf686..0a78683 100644 --- a/hclwrite/native_node_sorter.go +++ b/hclwrite/native_node_sorter.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/node.go b/hclwrite/node.go index d3a5b72..7ad4bb9 100644 --- a/hclwrite/node.go +++ b/hclwrite/node.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/parser.go b/hclwrite/parser.go index 3df5144..53415ae 100644 --- a/hclwrite/parser.go +++ b/hclwrite/parser.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/parser_test.go b/hclwrite/parser_test.go index 6edebc7..e557940 100644 --- a/hclwrite/parser_test.go +++ b/hclwrite/parser_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/public.go b/hclwrite/public.go index 678a3aa..8003a71 100644 --- a/hclwrite/public.go +++ b/hclwrite/public.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/round_trip_test.go b/hclwrite/round_trip_test.go index 8ce9c4f..bf306de 100644 --- a/hclwrite/round_trip_test.go +++ b/hclwrite/round_trip_test.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( diff --git a/hclwrite/tokens.go b/hclwrite/tokens.go index 57a5fd2..909bb4b 100644 --- a/hclwrite/tokens.go +++ b/hclwrite/tokens.go @@ -1,3 +1,6 @@ +// Copyright (c) HashiCorp, Inc. +// SPDX-License-Identifier: MPL-2.0 + package hclwrite import ( -- cgit v1.2.3