mirror of
https://github.com/garethgeorge/backrest.git
synced 2025-12-13 17:25:38 +00:00
10 lines
222 B
Go
10 lines
222 B
Go
//go:build windows
|
|
// +build windows
|
|
|
|
package resticinstaller
|
|
|
|
func withFlock(lock string, do func() error) error {
|
|
// TODO: windows file locking. Not a major issue as locking is only needed for test runs.
|
|
return do()
|
|
}
|