mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-11-29 08:08:59 +08:00
17 lines
335 B
Go
17 lines
335 B
Go
//go:build !linux
|
|
|
|
package cache
|
|
|
|
import (
|
|
"context"
|
|
"errors"
|
|
"os"
|
|
)
|
|
|
|
func owned(os.FileInfo) error { return nil }
|
|
func Disk(context.Context, string) (Usage, error) {
|
|
return Usage{}, errors.New("缓存磁盘检查需要 Linux")
|
|
}
|
|
|
|
func Space(string) (Usage, error) { return Usage{}, errors.New("Docker 磁盘检查需要 Linux") }
|