mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-28 13:48:49 +08:00

Package common wasn't used for public functions. Place it in an internal directory to prevent other packages from using. Remove the distributed references to "HOST_PROC" and "HOST_SYS" consts and combine into a common function. This also helps so that if a env var is defined with a trailing slash all will continue to work as expected. Fixes #100
4 lines
32 B
Go
4 lines
32 B
Go
// +build linux
|
|
|
|
package common
|