blob: 22828523bc77ca17dffdc2ed339fb6009dab9bed (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//go:build !linux
package namespace
import (
"os"
"git.theodohertyfamily.com/tools/wg-wrap/internal/paths"
)
// AcquireProfileLock is a stub for non-Linux platforms.
func AcquireProfileLock(pm *paths.PathManager, profile string) (*os.File, error) {
return nil, nil
}
// ReleaseProfileLock is a stub for non-Linux platforms.
func ReleaseProfileLock(file *os.File) {
}
|