forked from sneak/bsdaily
Add a detailed README, WTFPL LICENSE, and build/CI tooling modeled on the vaultik repo (Makefile, multi-stage digest-pinned Dockerfile, .gitea/workflows/check.yml). Bump Go to 1.26.4 and pin golangci-lint to v2.12.2. gofmt existing sources so the new fmt-check gate passes.
10 lines
144 B
Go
10 lines
144 B
Go
//go:build !linux
|
|
|
|
package bsdaily
|
|
|
|
import "os"
|
|
|
|
func applyFileAdvice(file *os.File, size int64) {
|
|
// Fadvise not available on this platform
|
|
}
|