Files
openchamber-android-native/third_party/mygo/document_other.go
T

18 lines
386 B
Go
Raw Normal View History

//go:build !unix && !windows
package mygo
import "os"
func fileLinks(os.FileInfo) int { return 1 }
func openShared(path string) (*os.File, error) { return os.Open(path) }
func fileWritable(path string) bool {
info, err := os.Stat(path)
return err == nil && info.Mode().Perm()&0o200 != 0
}
func lockFile(*os.File) error { return nil }
func lockBusy(error) bool { return false }