prevent testing lib from being compiled in (#4742)

* remove testing dep from fsondisk

* code review
This commit is contained in:
Natasha Sarkar
2022-08-01 16:26:29 -05:00
committed by GitHub
parent e57b5d283f
commit bbeff6ddd6
3 changed files with 11 additions and 13 deletions

View 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
}