mirror of
https://github.com/shirou/gopsutil.git
synced 2025-04-26 13:48:59 +08:00
remove deprecation comments
This commit is contained in:
parent
fe1caf758c
commit
177e1b1982
@ -364,37 +364,30 @@ func combine(value string, combineWith []string) string {
|
||||
}
|
||||
}
|
||||
|
||||
// Deprecated: use HostProcWithContext instead
|
||||
func HostProc(combineWith ...string) string {
|
||||
return GetEnv("HOST_PROC", "/proc", combineWith...)
|
||||
}
|
||||
|
||||
// Deprecated: use HostSysWithContext instead
|
||||
func HostSys(combineWith ...string) string {
|
||||
return GetEnv("HOST_SYS", "/sys", combineWith...)
|
||||
}
|
||||
|
||||
// Deprecated: use HostEtcWithContext instead
|
||||
func HostEtc(combineWith ...string) string {
|
||||
return GetEnv("HOST_ETC", "/etc", combineWith...)
|
||||
}
|
||||
|
||||
// Deprecated: use HostVarWithContext instead
|
||||
func HostVar(combineWith ...string) string {
|
||||
return GetEnv("HOST_VAR", "/var", combineWith...)
|
||||
}
|
||||
|
||||
// Deprecated: use HostRunWithContext instead
|
||||
func HostRun(combineWith ...string) string {
|
||||
return GetEnv("HOST_RUN", "/run", combineWith...)
|
||||
}
|
||||
|
||||
// Deprecated: use HostDevWithContext instead
|
||||
func HostDev(combineWith ...string) string {
|
||||
return GetEnv("HOST_DEV", "/dev", combineWith...)
|
||||
}
|
||||
|
||||
// Deprecated: use HostRootWithContext instead
|
||||
func HostRoot(combineWith ...string) string {
|
||||
return GetEnv("HOST_ROOT", "/", combineWith...)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user