...

Source file src/github.com/moby/sys/mountinfo/mountinfo_unsupported.go

Documentation: github.com/moby/sys/mountinfo

     1  //go:build !windows && !linux && !freebsd && !openbsd && !darwin
     2  // +build !windows,!linux,!freebsd,!openbsd,!darwin
     3  
     4  package mountinfo
     5  
     6  import (
     7  	"fmt"
     8  	"runtime"
     9  )
    10  
    11  var errNotImplemented = fmt.Errorf("not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
    12  
    13  func parseMountTable(_ FilterFunc) ([]*Info, error) {
    14  	return nil, errNotImplemented
    15  }
    16  
    17  func mounted(path string) (bool, error) {
    18  	return false, errNotImplemented
    19  }
    20  

View as plain text