Harden Harness runtime, persistence and execution for Hand
This commit is contained in:
1 parent
09c30fe2d5
commit
0972eed3ea
164 files changed
+15912
-506
No files matched your search
@@ -0,0 +1,18 @@
|
||||
//go:build !linux && !darwin
|
||||
|
||||
package session
|
||||
|
||||
import (
|
||||
"errors"
|
||||
"os"
|
||||
)
|
||||
|
||||
const supportsWriterLease = false
|
||||
|
||||
func openLeaseFile(string) (*os.File, error) {
|
||||
return nil, errors.New("session writer leases are unsupported on this platform")
|
||||
}
|
||||
func lockLeaseFile(*os.File) error {
|
||||
return errors.New("session writer leases are unsupported on this platform")
|
||||
}
|
||||
func leaseWouldBlock(error) bool { return false }
|
||||
Reference in new issue
Block a user