restorer: windows test fixes

This commit is contained in:
Michael Eischer
2024-06-13 22:52:31 +02:00
parent ca41c8fd11
commit 9572b7224f
4 changed files with 37 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
//go:build !windows
// +build !windows
package restorer
import "syscall"
func notEmptyDirError() error {
return syscall.ENOTEMPTY
}