Browse Source

Remove debug println's

feature/create-install-pkgs
Tovi Jaeschke-Rogers 3 years ago
parent
commit
12ce07e87e
3 changed files with 1 additions and 6 deletions
  1. +1
    -1
      Client/Database/Init.go
  2. +0
    -2
      Client/Filesystem/CopyFile.go
  3. +0
    -3
      Client/Filesystem/ManageFileBucket.go

+ 1
- 1
Client/Database/Init.go View File

@ -23,7 +23,7 @@ func InitConfigDir() error {
)
_, e = os.Stat(Variables.ConfigDir)
if os.IsNotExist(e) {
os.MkdirAll(Variables.ConfigDir, 0644)
return os.MkdirAll(Variables.ConfigDir, 0644)
}
return e
}


+ 0
- 2
Client/Filesystem/CopyFile.go View File

@ -1,7 +1,6 @@
package Filesystem
import (
"fmt"
"io/fs"
"io/ioutil"
"os"
@ -42,7 +41,6 @@ func CopyFile(src, dest string) error {
e = ioutil.WriteFile(dest, input, fileInfo.Mode())
if e != nil {
fmt.Println(e)
return e
}


+ 0
- 3
Client/Filesystem/ManageFileBucket.go View File

@ -1,7 +1,6 @@
package Filesystem
import (
"fmt"
"os"
bolt "go.etcd.io/bbolt"
@ -21,8 +20,6 @@ func AddFileToBucket(bucket *bolt.Bucket, key, filePath string) error {
return nil
}
fmt.Println(fileObject)
fileObjectBytes, e = fileObject.ToBytes()
if e != nil {
return e


Loading…
Cancel
Save