File: cgroups_unsupported.go

package info (click to toggle)
golang-github-containers-common 0.50.1%2Bds1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,440 kB
  • sloc: makefile: 118; sh: 46
file content (9 lines) | stat: -rw-r--r-- 161 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
//go:build !linux
// +build !linux

package cgroupv2

// Enabled returns whether we are running on cgroup v2
func Enabled() (bool, error) {
	return false, nil
}