github.com/juju/juju@v0.0.0-20240430160146-1752b71fcf00/storage/provider/mountinfo.go (about)

     1  // Copyright 2023 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  //go:build !linux
     5  
     6  package provider
     7  
     8  import (
     9  	"io"
    10  
    11  	"github.com/juju/errors"
    12  	"github.com/moby/sys/mountinfo"
    13  )
    14  
    15  func getMountsFromReader(r io.Reader, filter mountinfo.FilterFunc) ([]*mountinfo.Info, error) {
    16  	return nil, errors.NotSupported
    17  }