Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/dependabot.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2015, 2025
# SPDX-License-Identifier: MPL-2.0

version: 2
Expand Down
2 changes: 1 addition & 1 deletion .goreleaser.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright (c) HashiCorp, Inc.
# Copyright IBM Corp. 2015, 2025
# SPDX-License-Identifier: MPL-2.0

version: 2
Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Copyright (c) 2015 HashiCorp, Inc.
Copyright IBM Corp. 2015, 2025

Mozilla Public License, version 2.0

Expand Down
2 changes: 1 addition & 1 deletion checksum.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion client.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion client_mode.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion client_option.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion client_option_insecure.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion client_option_progress.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion client_option_progress_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion cmd/go-getter/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion cmd/go-getter/progress_tracking.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package main
Expand Down
2 changes: 1 addition & 1 deletion common.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion copy_dir.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_bzip2.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_bzip2_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_gzip.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_gzip_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_tar.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_tar_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_tbz2.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_tbz2_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_testing.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_tgz.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_tgz_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_txz.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_txz_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_tzst.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_tzst_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_xz.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_xz_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_zip.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_zip_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_zstd.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion decompress_zstd_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_bitbucket.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_bitbucket_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_file.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_file_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_file_unix_test.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

//go:build test || unix
// +build test unix

Check failure on line 5 in detect_file_unix_test.go

View workflow job for this annotation

GitHub Actions / linter

buildtag: +build line is no longer needed (govet)

package getter

Expand Down
2 changes: 1 addition & 1 deletion detect_gcs.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_gcs_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_git.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_git_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_github.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_github_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_gitlab.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_gitlab_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_s3.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_s3_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_ssh.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion detect_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion folder_storage.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion folder_storage_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion get.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

// getter is a package for downloading files or directories from a variety of
Expand Down
2 changes: 1 addition & 1 deletion get_base.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion get_file.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion get_file_copy.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion get_file_copy_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion get_file_test.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
2 changes: 1 addition & 1 deletion get_file_unix.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

// +build !windows

Check failure on line 4 in get_file_unix.go

View workflow job for this annotation

GitHub Actions / linter

buildtag: +build line is no longer needed (govet)

package getter

Expand Down
2 changes: 1 addition & 1 deletion get_file_windows.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

//go:build windows
Expand Down
2 changes: 1 addition & 1 deletion get_gcs.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright (c) HashiCorp, Inc.
// Copyright IBM Corp. 2015, 2025
// SPDX-License-Identifier: MPL-2.0

package getter
Expand Down
Loading
Loading