mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2024-11-27 14:16:39 +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
|
||
|
}
|