Welcome to mirror list, hosted at ThFree Co, Russian Federation.

advise_other.go « msgp « msgp « tinylib « github.com « vendor - gitlab.com/gitlab-org/gitaly.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: da65ea5412683906828115ac42453a963f2f2acc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// +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)
}