summaryrefslogtreecommitdiff
path: root/src/os/hostname.zig
AgeCommit message (Expand)Author
2025-06-14fix comptime if statementKristófer R
2025-06-10use else if instead of else { if }Kristófer R
2025-06-07move mac address length constant to file-level scopeKristófer R
2025-06-07merge std.Uri.ParseError and os/hostname error setsKristófer R
2025-06-07use explicit error setKristófer R
2025-06-07add comptime check for platformKristófer R
2025-06-07name the 17 magic constant `mac_address_length`Kristófer R
2025-06-07add tests for hostnames without a path componentKristófer R
2025-06-07re-order end-of-hostname validity checkKristófer R
2025-06-07don't rely on hard-coded schemesKristófer R
2025-06-07use iterator syntax in for loopKristófer R
2025-06-07Move url parsing helper to os/hostnameKristófer R
2024-11-07os/hostname: fix mac address handling when last section starts with '0'Kristófer R
2024-11-05stylistic changesMitchell Hashimoto
2024-11-04os/hostname: add and use explicit error structsKristófer R
2024-11-04os/hostname: add better validation for mac-address hostnamesKristófer R
2024-11-04os/hostname: test bufPrintHostnameFromFileUriKristófer R
2024-11-04os/hostname: test isLocalHostnameKristófer R
2024-11-04Move hostname helpers to src/os/hostname.zigKristófer R