chain works

This commit is contained in:
Bel LaPointe
2019-02-17 11:46:23 -07:00
parent 1c661b4b5c
commit a36266b30b
126 changed files with 22508 additions and 220 deletions

23
vendor/github.com/pierrec/lz4/debug.go generated vendored Normal file
View File

@@ -0,0 +1,23 @@
// +build lz4debug
package lz4
import (
"fmt"
"os"
"path/filepath"
"runtime"
)
const debugFlag = true
func debug(args ...interface{}) {
_, file, line, _ := runtime.Caller(1)
file = filepath.Base(file)
f := fmt.Sprintf("LZ4: %s:%d %s", file, line, args[0])
if f[len(f)-1] != '\n' {
f += "\n"
}
fmt.Fprintf(os.Stderr, f, args[1:]...)
}