stat_unsupported.go
1//go:build (!((amd64 || arm64 || riscv64) && linux) && !((amd64 || arm64) && (darwin || freebsd)) && !((amd64 || arm64) && windows)) || js
2
3package sys
4
5import "io/fs"
6
7// sysParseable is only used here as we define "supported" as being able to
8// parse `info.Sys()`. The above `go:build` constraints exclude 32-bit until
9// that's requested.
10const sysParseable = false
11
12func statFromFileInfo(info fs.FileInfo) Stat_t {
13 return defaultStatFromFileInfo(info)
14}