1
1
mirror of https://github.com/go-gitea/gitea synced 2024-06-17 16:55:49 +00:00
gitea/vendor/github.com/tinylib/msgp/msgp/advise_other.go
2018-05-19 20:49:46 +08:00

18 lines
225 B
Go

// +build !linux appengine
package msgp
import (
"os"
)
// TODO: darwin, BSD support
func adviseRead(mem []byte) {}
func adviseWrite(mem []byte) {}
func fallocate(f *os.File, sz int64) error {
return f.Truncate(sz)
}