fix build for windows

found with "make buildall", it was broken since the change for reusable components.
This commit is contained in:
Mechiel Lukkien
2024-01-01 16:08:50 +01:00
parent 3f5823de31
commit 4b8b53e776
2 changed files with 6 additions and 2 deletions

View File

@ -1,8 +1,12 @@
package moxio
import (
"github.com/mjl-/mox/mlog"
)
// SyncDir opens a directory and syncs its contents to disk.
// SyncDir is a no-op on Windows.
func SyncDir(dir string) error {
func SyncDir(log mlog.Log, dir string) error {
// todo: how to sync a directory on windows?
return nil
}