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 !unix
2
3package archive
4
5import "io/fs"
6
7// openNonblock: no FIFO opens block here.
8const openNonblock = 0
9
10// linkCount: Windows' FileInfo carries no link count. The platform's boxes
11// are Linux; this keeps the build whole.
12func linkCount(fs.FileInfo) uint64 { return 1 }
13