19 lines
503 B
Go
19 lines
503 B
Go
// +build !linux,!freebsd,!solaris freebsd,!cgo solaris,!cgo
|
|
|
|
package mountinfo
|
|
|
|
import (
|
|
"fmt"
|
|
"runtime"
|
|
)
|
|
|
|
// Self retrieves a list of mounts for the current running process.
|
|
func Self() ([]Info, error) {
|
|
return nil, fmt.Errorf("mountinfo.Self is not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
|
|
}
|
|
|
|
// PID collects the mounts for a specific process ID.
|
|
func PID(pid int) ([]Info, error) {
|
|
return nil, fmt.Errorf("mountinfo.PID is not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
|
|
}
|