Skip to main content
Homepage
Explore
Search or go to…
/
Sign in
Explore
Primary navigation
Project
S
S3Zip
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Collapse sidebar
Snippets
Groups
Projects
Show more breadcrumbs
Coscine
backend
scripts
S3Zip
Commits
612476af
Commit
612476af
authored
May 23, 2019
by
Benedikt Heinrichs
Browse files
Options
Downloads
Patches
Plain Diff
Fix path combination
parent
6816be57
Branches
Issue/2221-projectDateCreated
Branches containing commit
No related tags found
1 merge request
!2
Product/75 s3 zip metadata
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/S3Zip/ZipUtilities.cs
+1
-1
1 addition, 1 deletion
src/S3Zip/ZipUtilities.cs
with
1 addition
and
1 deletion
src/S3Zip/ZipUtilities.cs
+
1
−
1
View file @
612476af
...
...
@@ -96,7 +96,7 @@ namespace Coscine.S3Zip
{
foreach
(
ZipArchiveEntry
entry
in
archive
.
Entries
)
{
var
fileName
=
directoryInfo
.
FullName
.
EndsWith
(
$"
{
Path
.
DirectorySeparatorChar
}
"
)
?
$"
{
directoryInfo
.
FullName
}{
entry
.
FullName
}
"
:
directoryInfo
.
FullName
+
$"
{
directoryInfo
.
FullName
}{
Path
.
DirectorySeparatorChar
}{
entry
.
FullName
}
"
;
var
fileName
=
Path
.
Combine
(
directoryInfo
.
FullName
,
entry
.
FullName
)
;
if
(!
Directory
.
Exists
(
Path
.
GetDirectoryName
(
fileName
)))
{
...
...
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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
sign in
to comment