You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
362 B
Go
18 lines
362 B
Go
// +build !windows,!linux,!freebsd freebsd,!cgo
|
|
|
|
package mountinfo
|
|
|
|
import (
|
|
"fmt"
|
|
"io"
|
|
"runtime"
|
|
)
|
|
|
|
func parseMountTable(_ FilterFunc) ([]*Info, error) {
|
|
return nil, fmt.Errorf("mount.parseMountTable is not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
|
|
}
|
|
|
|
func parseInfoFile(_ io.Reader, f FilterFunc) ([]*Info, error) {
|
|
return parseMountTable(f)
|
|
}
|