mirror of
https://github.com/mjl-/mox.git
synced 2025-07-10 10:34:40 +03:00
fix build for windows
found with "make buildall", it was broken since the change for reusable components.
This commit is contained in:
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user