Remove builds conditional on go1.7 since that is now guaranteed #2154
Old fallback code was deleted and the go1.7 style code inlined where appropriate.
This commit is contained in:
parent
e5be471ce0
commit
be54fd8f70
35 changed files with 45 additions and 157 deletions
2
backend/cache/cache.go
vendored
2
backend/cache/cache.go
vendored
|
@ -1,4 +1,4 @@
|
|||
// +build !plan9,go1.7
|
||||
// +build !plan9
|
||||
|
||||
package cache
|
||||
|
||||
|
|
2
backend/cache/cache_internal_test.go
vendored
2
backend/cache/cache_internal_test.go
vendored
|
@ -1,4 +1,4 @@
|
|||
// +build !plan9,go1.7
|
||||
// +build !plan9
|
||||
|
||||
package cache_test
|
||||
|
||||
|
|
2
backend/cache/cache_mount_unix_test.go
vendored
2
backend/cache/cache_mount_unix_test.go
vendored
|
@ -1,4 +1,4 @@
|
|||
// +build !plan9,!windows,go1.7
|
||||
// +build !plan9,!windows
|
||||
|
||||
package cache_test
|
||||
|
||||
|
|
2
backend/cache/cache_mount_windows_test.go
vendored
2
backend/cache/cache_mount_windows_test.go
vendored
|
@ -1,4 +1,4 @@
|
|||
// +build windows,go1.7
|
||||
// +build windows
|
||||
|
||||
package cache_test
|
||||
|
||||
|
|
2
backend/cache/cache_test.go
vendored
2
backend/cache/cache_test.go
vendored
|
@ -3,7 +3,7 @@
|
|||
// Automatically generated - DO NOT EDIT
|
||||
// Regenerate with: make gen_tests
|
||||
|
||||
// +build !plan9,go1.7
|
||||
// +build !plan9
|
||||
|
||||
package cache_test
|
||||
|
||||
|
|
2
backend/cache/cache_unsupported.go
vendored
2
backend/cache/cache_unsupported.go
vendored
|
@ -1,6 +1,6 @@
|
|||
// Build for cache for unsupported platforms to stop go complaining
|
||||
// about "no buildable Go source files "
|
||||
|
||||
// +build plan9 !go1.7
|
||||
// +build plan9
|
||||
|
||||
package cache
|
||||
|
|
2
backend/cache/directory.go
vendored
2
backend/cache/directory.go
vendored
|
@ -1,4 +1,4 @@
|
|||
// +build !plan9,go1.7
|
||||
// +build !plan9
|
||||
|
||||
package cache
|
||||
|
||||
|
|
2
backend/cache/handle.go
vendored
2
backend/cache/handle.go
vendored
|
@ -1,4 +1,4 @@
|
|||
// +build !plan9,go1.7
|
||||
// +build !plan9
|
||||
|
||||
package cache
|
||||
|
||||
|
|
2
backend/cache/object.go
vendored
2
backend/cache/object.go
vendored
|
@ -1,4 +1,4 @@
|
|||
// +build !plan9,go1.7
|
||||
// +build !plan9
|
||||
|
||||
package cache
|
||||
|
||||
|
|
2
backend/cache/plex.go
vendored
2
backend/cache/plex.go
vendored
|
@ -1,4 +1,4 @@
|
|||
// +build !plan9,go1.7
|
||||
// +build !plan9
|
||||
|
||||
package cache
|
||||
|
||||
|
|
2
backend/cache/storage_memory.go
vendored
2
backend/cache/storage_memory.go
vendored
|
@ -1,4 +1,4 @@
|
|||
// +build !plan9,go1.7
|
||||
// +build !plan9
|
||||
|
||||
package cache
|
||||
|
||||
|
|
2
backend/cache/storage_persistent.go
vendored
2
backend/cache/storage_persistent.go
vendored
|
@ -1,4 +1,4 @@
|
|||
// +build !plan9,go1.7
|
||||
// +build !plan9
|
||||
|
||||
package cache
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue