open-vault/vault/diagnose/file_checks_windows.go
Hamid Ghaf 27bb03bbc0
adding copyright header (#19555)
* adding copyright header

* fix fmt and a test
2023-03-15 09:00:52 -07:00

15 lines
299 B
Go

// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0
//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
}