1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
package mountinfo import "io" func parseMountTable(_ FilterFunc) ([]*Info, error) { // Do NOT return an error! return nil, nil } func parseInfoFile(_ io.Reader, f FilterFunc) ([]*Info, error) { return parseMountTable(f) } func mounted(_ string) (bool, error) { return false, nil }