Skip to content

Commit

Permalink
🧹 fix license header for BSD licensed file (#4450)
Browse files Browse the repository at this point in the history
With #1557 we used a tool to add headers. Since the existing attribution was not detected properly by the tool, it accidentally attached the BUSL 1.1 license. This fixes the header to avoid future confusion.
  • Loading branch information
chris-rock authored Jul 30, 2024
1 parent a0b0d98 commit 2897855
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions providers/os/connection/tar/path.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
// Copyright (c) Mondoo, Inc.
// SPDX-License-Identifier: BUSL-1.1
// Copyright 2009 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// Original source: https://golang.org/src/path/path.go

// The following code is adapted from golang but removes the cross-compile code so
// that it always behaves unix style no matter for which platform it was compiled

package tar

Expand All @@ -8,9 +12,6 @@ import (
"strings"
)

// the following code is adapted from golang but removes the cross-compile code so that it
// always behaves unix style no matter for which platform it was compiled

// docker images only use relative paths, we need to make them absolute here
func Abs(path string) string {
return join("/", path)
Expand Down

0 comments on commit 2897855

Please sign in to comment.