1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Remove redundant build-tags

Files that are suffixed with `_linux.go` or `_windows.go` are
already only built on Linux / Windows, so these build-tags
were redundant.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
Sebastiaan van Stijn 2017-12-18 17:41:53 +01:00
parent 1589cc0a85
commit 6ed1163c98
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
41 changed files with 0 additions and 82 deletions

View file

@ -1,5 +1,3 @@
// +build linux
package main package main
import systemdDaemon "github.com/coreos/go-systemd/daemon" import systemdDaemon "github.com/coreos/go-systemd/daemon"

View file

@ -1,5 +1,3 @@
// +build windows
package container package container
import ( import (

View file

@ -1,5 +1,3 @@
// +build windows
package daemon package daemon
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package daemon package daemon
func configsSupported() bool { func configsSupported() bool {

View file

@ -1,5 +1,3 @@
// +build windows
package daemon package daemon
func configsSupported() bool { func configsSupported() bool {

View file

@ -1,5 +1,3 @@
//+build windows
package daemon package daemon
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package graphdriver package graphdriver
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package vfs package vfs
import "github.com/docker/docker/daemon/graphdriver/copy" import "github.com/docker/docker/daemon/graphdriver/copy"

View file

@ -1,5 +1,3 @@
// +build linux
package vfs package vfs
import "github.com/docker/docker/daemon/graphdriver/quota" import "github.com/docker/docker/daemon/graphdriver/quota"

View file

@ -1,5 +1,3 @@
// +build windows
package initlayer package initlayer
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package gcplogs package gcplogs
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package daemon package daemon
func secretsSupported() bool { func secretsSupported() bool {

View file

@ -1,5 +1,3 @@
// +build windows
package daemon package daemon
func secretsSupported() bool { func secretsSupported() bool {

View file

@ -1,5 +1,3 @@
// +build linux
package daemon package daemon
import "github.com/opencontainers/selinux/go-selinux" import "github.com/opencontainers/selinux/go-selinux"

View file

@ -1,5 +1,3 @@
// +build windows
package stats package stats
// platformNewStatsCollector performs platform specific initialisation of the // platformNewStatsCollector performs platform specific initialisation of the

View file

@ -1,5 +1,3 @@
// +build windows
package daemon package daemon
import ( import (

View file

@ -1,5 +1,3 @@
// +build windows
package distribution package distribution
import ( import (

View file

@ -1,5 +1,3 @@
// +build windows
package opts package opts
// DefaultHost constant defines the default host string used by docker on Windows // DefaultHost constant defines the default host string used by docker on Windows

View file

@ -1,5 +1,3 @@
// +build windows
package archive package archive
import ( import (

View file

@ -1,5 +1,3 @@
// +build windows
package directory package directory
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package dmesg package dmesg
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package fsutils package fsutils
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package homedir package homedir
import ( import (

View file

@ -1,5 +1,3 @@
// +build windows
package idtools package idtools
import ( import (

View file

@ -1,5 +1,3 @@
// +build windows
package ioutils package ioutils
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package mount package mount
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package mount package mount
// MakeShared ensures a mounted filesystem has the SHARED mount option enabled. // MakeShared ensures a mounted filesystem has the SHARED mount option enabled.

View file

@ -1,5 +1,3 @@
// +build windows
package kernel package kernel
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package reexec package reexec
import ( import (

View file

@ -1,5 +1,3 @@
// +build windows
package reexec package reexec
import ( import (

View file

@ -1,5 +1,3 @@
// +build windows
package signal package signal
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package sysinfo package sysinfo
import ( import (

View file

@ -1,5 +1,3 @@
// +build windows
package sysinfo package sysinfo
import ( import (

View file

@ -1,5 +1,3 @@
// +build windows
package sysinfo package sysinfo
// New returns an empty SysInfo for windows for now. // New returns an empty SysInfo for windows for now.

View file

@ -1,5 +1,3 @@
// +build windows
package system package system
import ( import (

View file

@ -1,5 +1,3 @@
// +build windows
package system package system
import ( import (

View file

@ -1,5 +1,3 @@
// +build windows
package system package system
// Mknod is not implemented on Windows. // Mknod is not implemented on Windows.

View file

@ -1,5 +1,3 @@
// +build windows
package system package system
// Umask is not supported on the windows platform. // Umask is not supported on the windows platform.

View file

@ -1,5 +1,3 @@
// +build windows
package term package term
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package plugin package plugin
import ( import (

View file

@ -1,5 +1,3 @@
// +build linux
package v2 package v2
import ( import (