Skip to content

Directory: Print an error when mkpath() returns false#92

Merged
mosra merged 3 commits into
mosra:masterfrom
Squareys:mkpath-errors
Mar 21, 2020
Merged

Directory: Print an error when mkpath() returns false#92
mosra merged 3 commits into
mosra:masterfrom
Squareys:mkpath-errors

Conversation

@Squareys

Copy link
Copy Markdown
Contributor

Hi @mosra,

as discussed per gitter, here's the PR that adds some error messages to failures in Directory::mkpath().

Cheers,
Jonathan

@Squareys Squareys changed the title Directory: Print an error when mkpath() returns false WIP: Directory: Print an error when mkpath() returns false Mar 14, 2020
@Squareys Squareys changed the title WIP: Directory: Print an error when mkpath() returns false [WIP] Directory: Print an error when mkpath() returns false Mar 14, 2020
@Squareys Squareys force-pushed the mkpath-errors branch 2 times, most recently from 3dcf652 to 5ddde7f Compare March 14, 2020 18:39
@codecov-io

codecov-io commented Mar 14, 2020

Copy link
Copy Markdown

Codecov Report

Merging #92 into master will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
+ Coverage   97.41%   97.42%   +<.01%     
==========================================
  Files          93       94       +1     
  Lines        6545     6559      +14     
==========================================
+ Hits         6376     6390      +14     
  Misses        169      169
Impacted Files Coverage Δ
src/Corrade/Utility/Directory.cpp 87.56% <100%> (+0.25%) ⬆️
...rc/Corrade/Utility/Implementation/WindowsError.cpp 100% <100%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2d3f080...5c09200. Read the comment docs.

Comment thread src/Corrade/Utility/Directory.cpp Outdated
Comment thread src/Corrade/Utility/Directory.cpp Outdated
Comment thread src/Corrade/Utility/Directory.cpp Outdated
Comment thread src/Corrade/Utility/Directory.cpp Outdated
Comment thread src/Corrade/Utility/Test/DirectoryTest.cpp Outdated
Comment thread src/Corrade/Utility/Test/DirectoryTest.cpp Outdated
Comment thread src/Corrade/Utility/Directory.cpp Outdated
@mosra mosra added this to the 2020.0a milestone Mar 14, 2020
@Squareys Squareys force-pushed the mkpath-errors branch 2 times, most recently from 2efac50 to 2ba456c Compare March 14, 2020 21:05
Comment thread src/Corrade/Utility/CMakeLists.txt Outdated
Comment thread src/Corrade/Utility/Directory.cpp Outdated
Comment thread src/Corrade/Utility/Implementation/WindowsError.cpp Outdated
Comment thread src/Corrade/Utility/Implementation/WindowsError.cpp Outdated
Comment thread src/Corrade/Utility/Test/DirectoryTest.cpp Outdated
@Squareys Squareys changed the title [WIP] Directory: Print an error when mkpath() returns false Directory: Print an error when mkpath() returns false Mar 17, 2020
@Squareys Squareys force-pushed the mkpath-errors branch 5 times, most recently from b4bc900 to 5c09200 Compare March 17, 2020 09:39
@Squareys

Copy link
Copy Markdown
Contributor Author

@mosra I fixed the final CI error, awaiting it's completion, then this is ready again.

Signed-off-by: Squareys <squareys@googlemail.com>
Signed-off-by: Squareys <squareys@googlemail.com>
Signed-off-by: Squareys <squareys@googlemail.com>
@mosra mosra merged commit 1f55ec7 into mosra:master Mar 21, 2020
@mosra

mosra commented Mar 21, 2020

Copy link
Copy Markdown
Owner

Thanks! 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants