2017-11-08 11:34:04 -05:00
|
|
|
// +build !windows,!linux,!freebsd freebsd,!cgo
|
2017-05-10 17:13:36 -04:00
|
|
|
|
2020-04-16 05:23:37 -04:00
|
|
|
package mountinfo
|
2017-05-10 17:13:36 -04:00
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
2020-04-16 05:23:37 -04:00
|
|
|
"io"
|
2017-05-10 17:13:36 -04:00
|
|
|
"runtime"
|
|
|
|
)
|
|
|
|
|
2020-04-16 05:23:37 -04:00
|
|
|
func parseMountTable(_ FilterFunc) ([]*Info, error) {
|
2017-05-10 17:13:36 -04:00
|
|
|
return nil, fmt.Errorf("mount.parseMountTable is not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
|
|
|
|
}
|
2020-04-16 05:23:37 -04:00
|
|
|
|
|
|
|
func parseInfoFile(_ io.Reader, f FilterFunc) ([]*Info, error) {
|
|
|
|
return parseMountTable(f)
|
|
|
|
}
|