Source file src/cmd/go/internal/cache/statfs_other.go
1 // Copyright 2026 The Go Authors. All rights reserved. 2 // Use of this source code is governed by a BSD-style 3 // license that can be found in the LICENSE file. 4 5 //go:build !linux 6 7 package cache 8 9 // statfs returns zeros (unknown) outside Linux, disabling low disk trims. 10 func statfs(dir string) (avail, total, bsize uint64) { 11 return 0, 0, 0 12 } 13