github.com/slspeek/camlistore_namedsearch@v0.0.0-20140519202248-ed6f70f7721a/third_party/bazil.org/fuse/debug.go (about)

     1  package fuse
     2  
     3  import (
     4  	"runtime"
     5  )
     6  
     7  func stack() string {
     8  	buf := make([]byte, 1024)
     9  	return string(buf[:runtime.Stack(buf, false)])
    10  }
    11  
    12  func nop(msg interface{}) {}
    13  
    14  var Debug = nop