perkeep/third_party/bazil.org/fuse/debug.go

15 lines
183 B
Go

package fuse
import (
"runtime"
)
func stack() string {
buf := make([]byte, 1024)
return string(buf[:runtime.Stack(buf, false)])
}
func nop(msg interface{}) {}
var Debug = nop