mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
prevent testing lib from being compiled in (#4742)
* remove testing dep from fsondisk * code review
This commit is contained in:
15
kyaml/filesys/fsondisk_unix.go
Normal file
15
kyaml/filesys/fsondisk_unix.go
Normal file
@@ -0,0 +1,15 @@
|
||||
// Copyright 2022 The Kubernetes Authors.
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
//go:build !windows
|
||||
// +build !windows
|
||||
|
||||
package filesys
|
||||
|
||||
import (
|
||||
"path/filepath"
|
||||
)
|
||||
|
||||
func getOSRoot() (string, error) {
|
||||
return string(filepath.Separator), nil
|
||||
}
|
||||
Reference in New Issue
Block a user