package os
import "github.com/snowflakedb/gosnowflake/internal/os"
Index ¶
Functions ¶
func GetOsDetails ¶
GetOsDetails returns OS details from /etc/os-release on Linux. The result is cached so it's only read once.
Types ¶
type LibcInfo ¶
type LibcInfo struct {
Family string // "glibc", "musl", or "" if not detected
Version string // e.g., "2.31", "1.2.4", or "" if not determined
}
LibcInfo contains information about the C standard library in use.
func GetLibcInfo ¶
func GetLibcInfo() LibcInfo
GetLibcInfo returns the libc family and version on Linux. The result is cached so the detection only runs once.
Source Files ¶
libc_info.go libc_info_linux.go os_details.go os_details_linux.go
- Version
- v1.19.1 (latest)
- Published
- Apr 8, 2026
- Platform
- linux/amd64
- Imports
- 8 packages
- Last checked
- 18 minutes ago –
Tools for package owners.