Files
magpie/internal/usage/log_file_other.go
T
Snowyy 3d8c6f24c5 usage: capture Windows change time for cached logs (#594)
* usage: capture Windows change time for cached logs

* ci: show native Windows usage test outcomes
2026-10-03 01:15:29 +08:00

9 lines
198 B
Go

//go:build !windows
package usage
import "os"
func statLogFile(path string) (os.FileInfo, error) { return os.Stat(path) }
func statLogHandle(f *os.File) (os.FileInfo, error) { return f.Stat() }