vendor: only vendor on emitted binaries

Moves the vendor/ directory to cmd/vendor. Vendored binaries are built
from cmd/, which is backed by symlinks pointing back to repo root.
This commit is contained in:
Anthony Romano
2016-04-03 11:35:29 -07:00
parent b9e933b850
commit b1d41016b2
635 changed files with 68 additions and 50 deletions

10
cmd/vendor/github.com/boltdb/bolt/bolt_linux.go generated vendored Normal file
View File

@ -0,0 +1,10 @@
package bolt
import (
"syscall"
)
// fdatasync flushes written data to a file descriptor.
func fdatasync(db *DB) error {
return syscall.Fdatasync(int(db.file.Fd()))
}