| 1 |
// SPDX-License-Identifier: MPL-2.0 |
| 2 |
|
| 3 |
// Copyright (C) 2024-2025 Aleksa Sarai <[email protected]> |
| 4 |
// Copyright (C) 2024-2025 SUSE LLC |
| 5 |
// |
| 6 |
// This Source Code Form is subject to the terms of the Mozilla Public |
| 7 |
// License, v. 2.0. If a copy of the MPL was not distributed with this |
| 8 |
// file, You can obtain one at https://mozilla.org/MPL/2.0/. |
| 9 |
|
| 10 |
package testutils |
| 11 |
|
| 12 |
import ( |
| 13 |
"github.com/cyphar/filepath-securejoin/internal/testutils" |
| 14 |
) |
| 15 |
|
| 16 |
// Symlink is a wrapper around os.Symlink. |
| 17 |
var Symlink = testutils.Symlink |
| 18 |
|
| 19 |
// MkdirAll is a wrapper around os.MkdirAll. |
| 20 |
var MkdirAll = testutils.MkdirAll |
| 21 |
|
| 22 |
// WriteFile is a wrapper around os.WriteFile. |
| 23 |
var WriteFile = testutils.WriteFile |