Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
capnproto
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
capnproto
Commits
a00ccd91
Unverified
Commit
a00ccd91
authored
6 years ago
by
Kenton Varda
Committed by
GitHub
6 years ago
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #746 from thomaslee/tom_minor_type
Fix minor typo spotted by lintian
parents
5c16ad4b
29c7d9ed
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
filesystem.c++
c++/src/kj/filesystem.c++
+3
-3
No files found.
c++/src/kj/filesystem.c++
View file @
a00ccd91
...
...
@@ -1511,7 +1511,7 @@ private:
entry
.
set
(
kj
::
mv
(
copy
));
}
else
{
if
(
mode
==
TransferMode
::
MOVE
)
{
KJ_ASSERT
(
fromDirectory
.
tryRemove
(
fromPath
),
"could't move node"
,
fromPath
)
{
KJ_ASSERT
(
fromDirectory
.
tryRemove
(
fromPath
),
"could
n
't move node"
,
fromPath
)
{
return
false
;
}
}
...
...
@@ -1543,7 +1543,7 @@ private:
entry
.
set
(
kj
::
mv
(
copy
));
}
else
{
if
(
mode
==
TransferMode
::
MOVE
)
{
KJ_ASSERT
(
fromDirectory
.
tryRemove
(
fromPath
),
"could't move node"
,
fromPath
)
{
KJ_ASSERT
(
fromDirectory
.
tryRemove
(
fromPath
),
"could
n
't move node"
,
fromPath
)
{
return
false
;
}
}
...
...
@@ -1560,7 +1560,7 @@ private:
// Since symlinks are immutable, we can implement LINK the same as COPY.
entry
.
init
(
SymlinkNode
{
lastModified
.
orDefault
(
clock
.
now
()),
kj
::
mv
(
*
content
)
});
if
(
mode
==
TransferMode
::
MOVE
)
{
KJ_ASSERT
(
fromDirectory
.
tryRemove
(
fromPath
),
"could't move node"
,
fromPath
)
{
KJ_ASSERT
(
fromDirectory
.
tryRemove
(
fromPath
),
"could
n
't move node"
,
fromPath
)
{
return
false
;
}
}
...
...
This diff is collapsed.
Click to expand it.
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