Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
helm3
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
helm3
Commits
dcdeefbd
Commit
dcdeefbd
authored
Apr 27, 2018
by
Herbert Mühlburger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#3763 replace backslash with forward slash
parent
2b7d216e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
save.go
pkg/chartutil/save.go
+2
-0
No files found.
pkg/chartutil/save.go
View file @
dcdeefbd
...
...
@@ -24,6 +24,7 @@ import (
"io/ioutil"
"os"
"path/filepath"
"strings"
"github.com/ghodss/yaml"
...
...
@@ -204,6 +205,7 @@ func writeTarContents(out *tar.Writer, c *chart.Chart, prefix string) error {
// writeToTar writes a single file to a tar archive.
func
writeToTar
(
out
*
tar
.
Writer
,
name
string
,
body
[]
byte
)
error
{
// TODO: Do we need to create dummy parent directory names if none exist?
name
=
strings
.
Replace
(
name
,
"
\\
"
,
"/"
,
-
1
)
h
:=
&
tar
.
Header
{
Name
:
name
,
Mode
:
0755
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment