We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2de515 commit 0ed7d1bCopy full SHA for 0ed7d1b
pkg/httpserver/uploadlayer.go
@@ -0,0 +1,7 @@
1
+package httpserver
2
+
3
+import "io/ioutil"
4
5
+func handleUpload(file string, data []byte) error {
6
+ return ioutil.WriteFile(file, data, 0655)
7
+}
0 commit comments