Sign in

Search issue titles and bodies, change requests and comments. Private repositories you cannot read are not included.

vole
Site
Clone

Read only, no credentials:

https://rodent.software/vole.git

Write over SSH with a registered key:

git clone ssh://git@rodent.software/vole.git

Self-hosted forge that lives in your Git repo.

Blame · ci/agent/disk_other.go

Line attribution on main · 12 line(s)

215f8aeb
Keenan Nemetz
2d ago
1 //go:build !unix && !windows
2
3 package agent
4
5 import "errors"
6
7 // freeBytes has no answer where the platform reports no filesystem capacity. An
8 // error is the honest result: reporting zero free would fail every job as a low
9 // disk, and reporting a large number would silently disable the bound.
10 func freeBytes(dir string) (int64, error) {
11 return 0, errors.New("free space is not available on this platform")
12 }