浏览文件
osversion_others.go
17 行 · 359 B历史下载| 1 | //go:build !darwin |
| 2 | |
| 3 | // SPDX-FileCopyrightText: Copyright The Lima Authors |
| 4 | // SPDX-License-Identifier: Apache-2.0 |
| 5 | |
| 6 | package osutil |
| 7 | |
| 8 | import ( |
| 9 | "errors" |
| 10 | |
| 11 | "github.com/coreos/go-semver/semver" |
| 12 | ) |
| 13 | |
| 14 | // ProductVersion returns the OS product version, not the kernel version. |
| 15 | func ProductVersion() (*semver.Version, error) { |
| 16 | return nil, errors.New("not implemented") |
| 17 | } |

