Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
MKCLOS
Core Development Platform
coreospackage
Commits
c0240416
Commit
c0240416
authored
7 years ago
by
Rahul A. Sutar
Browse files
Options
Downloads
Patches
Plain Diff
Added method - RiteshP
parent
66b49239
Branches
DevBranch
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
filehelper/fileHelper.go
+4
-0
filehelper/fileHelper.go
with
4 additions
and
0 deletions
filehelper/fileHelper.go
+
4
−
0
View file @
c0240416
...
...
@@ -68,6 +68,10 @@ func ListDirectory(directoryPath string) ([]os.FileInfo, error) {
//Zip Zip
func
Zip
(
source
,
target
string
)
error
{
source
=
filepath
.
Clean
(
source
)
target
=
filepath
.
Clean
(
target
)
zipfile
,
err
:=
os
.
Create
(
target
)
if
err
!=
nil
{
return
err
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets