Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🧹 fix license header for BSD licensed file #4450

Merged
merged 1 commit into from
Jul 30, 2024
Merged
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
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
Loading