Files
log/storage_nofs.go
T
Claude f9b8770303
Test / test (push) Canceled after 0s
Test / fuzz (./compat, FuzzParseFormat) (push) Canceled after 0s
Test / fuzz (./formatter, FuzzFormatJSON) (push) Canceled after 0s
Test / fuzz (./formatter, FuzzFormatTextPolicy) (push) Canceled after 0s
Test / fuzz (./sanitizer, FuzzSanitize) (push) Canceled after 0s
Test / fuzz (./sanitizer, FuzzSerializerJSON) (push) Canceled after 0s
v0.1.13 follow a replaced, removed, moved log file properly
2026-10-15 16:54:39 -04:00

18 lines
410 B
Go

//go:build !unix
package log
import (
"math"
"os"
)
// reopenFlags open the log path again; see openLogPath
const reopenFlags = os.O_APPEND | os.O_CREATE | os.O_WRONLY
// getDiskFreeSpace reports unlimited space where statfs is unavailable.
// Total-size limits still apply; only the free-space check is inert.
func (l *Logger) getDiskFreeSpace(path string) (int64, error) {
return math.MaxInt64, nil
}