carlos / platform Public

Clone
git clone https://amadan.net/carlos/platform

Plain git — no account needed to clone.

Download

Download this file

1//go:build !linux
2
3package release
4
5import "context"
6
7// Boxes run Linux; other builds (a developer's darwin, the windows cross
8// compile) have no carry-fence lock. Root's re-check of the move hold
9// (publishGate) still runs; only the serialization with a cut is absent, and
10// no cut runs off Linux.
11
12func lockConsumedPublish(context.Context, string, string) (func(), error) { return func() {}, nil }
13
14func lockConsumedCarry(context.Context, string, string) (func(), error) { return func() {}, nil }
15