File tree Expand file tree Collapse file tree 2 files changed +0
-17
lines changed
Expand file tree Collapse file tree 2 files changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -18,18 +18,10 @@ func GetBaseDir() string {
1818 return BaseDir
1919}
2020
21- func GetDockerDir () string {
22- return filepath .Join (mcnutils .GetHomeDir (), ".docker" )
23- }
24-
2521func GetMachineDir () string {
2622 return filepath .Join (GetBaseDir (), "machines" )
2723}
2824
2925func GetMachineCertDir () string {
3026 return filepath .Join (GetBaseDir (), "certs" )
3127}
32-
33- func GetMachineCacheDir () string {
34- return filepath .Join (GetBaseDir (), "cache" )
35- }
Original file line number Diff line number Diff line change @@ -31,15 +31,6 @@ func TestGetCustomBaseDir(t *testing.T) {
3131 BaseDir = ""
3232}
3333
34- func TestGetDockerDir (t * testing.T ) {
35- homeDir := mcnutils .GetHomeDir ()
36- baseDir := GetBaseDir ()
37-
38- if strings .Index (baseDir , homeDir ) != 0 {
39- t .Fatalf ("expected base dir with prefix %s; received %s" , homeDir , baseDir )
40- }
41- }
42-
4334func TestGetMachineDir (t * testing.T ) {
4435 root := "/tmp"
4536 BaseDir = root
You can’t perform that action at this time.
0 commit comments