flamenco/pkg/sysinfo/sysinfo.go
Sybren A. Stüvel 12bc182857 Log more OS info at startup
In addition to logging `GOOS` and `GOARCH`, also log more info about the
system:

- Windows: the Windows version and edition.
- Linux: distribution, distribution version, and kernel version.
- macOS: just "macOS", until we know more about getting info there too.
2023-10-15 14:16:56 +02:00

16 lines
379 B
Go

package sysinfo
// SPDX-License-Identifier: GPL-3.0-or-later
// CanSymlink tries to determine whether the running system can use symbolic
// links.
func CanSymlink() (bool, error) {
return canSymlink()
}
// Description returns a string that describes the current platform in more
// detail than runtime.GOOS does.
func Description() (string, error) {
return description()
}