1
0
vault-redux/vault/diagnose/file_checks_windows.go
2024-01-02 10:36:20 -08:00

15 lines
300 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: BUSL-1.1
//go:build windows
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
}