master
go 11 lines 289 Bytes
Raw
1 // SPDX-License-Identifier: GPL-3.0-or-later
2
3 //go:build !unix
4
5 package pathvalidate
6
7 // ValidateBinaryPath checks if a binary path is secure for execution.
8 // This is a stub implementation for non-Unix platforms.
9 func ValidateBinaryPath(path string) (string, error) {
10 return path, nil
11 }