github.com/wallyworld/juju@v0.0.0-20161013125918-6cf1bc9d917a/storage/looputil/inode_notlinux.go (about)

     1  // Copyright 2015 Canonical Ltd.
     2  // Licensed under the AGPLv3, see LICENCE file for details.
     3  
     4  //+build !linux
     5  
     6  package looputil
     7  
     8  import (
     9  	"os"
    10  	"runtime"
    11  )
    12  
    13  func fileInode(os.FileInfo) uint64 {
    14  	panic("loop devices not supported on " + runtime.GOOS)
    15  }