go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/resources/windows/registrykey_unix.go (about)

     1  // Copyright (c) Mondoo, Inc.
     2  // SPDX-License-Identifier: BUSL-1.1
     3  
     4  //go:build !windows
     5  // +build !windows
     6  
     7  package windows
     8  
     9  import "errors"
    10  
    11  // non-windows stubs
    12  func GetNativeRegistryKeyItems(path string) ([]RegistryKeyItem, error) {
    13  	return nil, errors.New("native registry key items not supported on non-windows platforms")
    14  }
    15  
    16  func GetNativeRegistryKeyChildren(path string) ([]RegistryKeyChild, error) {
    17  	return nil, errors.New("native registry key children not supported on non-windows platforms")
    18  }