This website works better with JavaScript.
Home
Explore
Help
Sign In
tovi
/
PackageManager
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Remove debug println's
feature/create-install-pkgs
Tovi Jaeschke-Rogers
3 years ago
parent
3d4f5016e0
commit
12ce07e87e
3 changed files
with
1 additions
and
6 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
Client/Database/Init.go
+0
-2
Client/Filesystem/CopyFile.go
+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
Write
Preview
Loading…
Cancel
Save