Browse code

Re-added mount_*.go in docker package to not break tests/build

shin- authored on 2013/02/22 16:07:10
Showing 2 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,7 @@
0
+package docker
1
+
2
+import "errors"
3
+
4
+func mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
5
+	return errors.New("mount is not implemented on darwin")
6
+}
0 7
new file mode 100644
... ...
@@ -0,0 +1,8 @@
0
+package docker
1
+
2
+import "syscall"
3
+
4
+
5
+func mount(source string, target string, fstype string, flags uintptr, data string) (err error) {
6
+	return syscall.Mount(source, target, fstype, flags, data)
7
+}