mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-12-03 09:02:45 +00:00
17 lines
276 B
Go
17 lines
276 B
Go
|
//go:build !linux
|
||
|
// +build !linux
|
||
|
|
||
|
package memlimit
|
||
|
|
||
|
func FromCgroup() (uint64, error) {
|
||
|
return 0, ErrCgroupsNotSupported
|
||
|
}
|
||
|
|
||
|
func FromCgroupV1() (uint64, error) {
|
||
|
return 0, ErrCgroupsNotSupported
|
||
|
}
|
||
|
|
||
|
func FromCgroupV2() (uint64, error) {
|
||
|
return 0, ErrCgroupsNotSupported
|
||
|
}
|