github.com/Rookout/GoSDK@v0.1.48/pkg/services/safe_hook_installer/bytes_writer_unsupported_versions.go (about) 1 //go:build windows 2 // +build windows 3 4 package safe_hook_installer 5 6 import "github.com/Rookout/GoSDK/pkg/rookoutErrors" 7 8 func (h *HookWriter) AddWritePermission() rookoutErrors.RookoutError { 9 return rookoutErrors.NewUnsupportedPlatform() 10 } 11 12 func (h *HookWriter) RestorePermissions() rookoutErrors.RookoutError { 13 return rookoutErrors.NewUnsupportedPlatform() 14 } 15 16 func (h *HookWriter) write() int { 17 return 0 18 }