mirror of https://github.com/perkeep/perkeep.git
15 lines
183 B
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
|