Single-writer controller with a select loop that offers jobs and accepts results simultaneously, so bounded channels cannot deadlock. statx/fstatat relative to the directory fd on Linux/macOS, portable fallback elsewhere. Hard links counted once, symlink loops detected, virtual filesystems skipped, errors classified and surfaced.
8 lines
121 B
Go
8 lines
121 B
Go
//go:build !windows && !linux && !darwin && !freebsd
|
|
|
|
package platform
|
|
|
|
import "os"
|
|
|
|
func fillSys(*Meta, os.FileInfo) {}
|