package os

import "github.com/snowflakedb/gosnowflake/internal/os"

Index

Functions

func GetOsDetails

func GetOsDetails() map[string]string

GetOsDetails returns nil on non-Linux platforms.

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 an empty LibcInfo on non-Linux platforms.

Source Files

libc_info.go libc_info_notlinux.go os_details.go os_details_notlinux.go

Version
v1.19.1 (latest)
Published
Apr 8, 2026
Platform
darwin/amd64
Imports
8 packages
Last checked
56 minutes ago

Tools for package owners.