2023-03-15 16:00:52 +00:00
|
|
|
// Copyright (c) HashiCorp, Inc.
|
|
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
|
2022-01-05 18:02:03 +00:00
|
|
|
//go:build windows
|
2021-06-17 17:04:21 +00:00
|
|
|
|
|
|
|
package diagnose
|
|
|
|
|
|
|
|
import "io/fs"
|
|
|
|
|
|
|
|
// IsOwnedByRoot does nothing on windows for now.
|
|
|
|
// TODO: find an equivalent check for file ownership in windows.
|
|
|
|
func IsOwnedByRoot(info fs.FileInfo) bool {
|
|
|
|
return false
|
|
|
|
}
|