Commit 0eae387 Preetha Appan
committed
1 parent 47bdbf9 commit 0eae387 Copy full SHA for 0eae387
File tree 1 file changed +4
-23
lines changed
1 file changed +4
-23
lines changed Original file line number Diff line number Diff line change 1
- package allocdir
1
+ package main
2
2
3
- import (
4
- "os"
5
- "syscall"
6
- )
3
+ import "fmt"
7
4
8
- // linkDir hardlinks src to dst. The src and dst must be on the same filesystem.
9
- func linkDir (src , dst string ) error {
10
- return syscall .Link (src , dst )
11
- }
12
-
13
- // unlinkDir removes a directory link.
14
- func unlinkDir (dir string ) error {
15
- return syscall .Unlink (dir )
16
- }
17
-
18
- // createSecretDir creates the secrets dir folder at the given path
19
- func createSecretDir (dir string ) error {
20
- return os .MkdirAll (dir , 0777 )
21
- }
22
-
23
- // removeSecretDir removes the secrets dir folder
24
- func removeSecretDir (dir string ) error {
25
- return os .RemoveAll (dir )
5
+ func main () {
6
+ fmt .Println ("Hello World" )
26
7
}
You can’t perform that action at this time.
0 commit comments