Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 3 commits into from Mar 21, 2020

Conversation

Squareys
Copy link
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
Copy link

codecov-io commented Mar 14, 2020

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.

src/Corrade/Utility/Directory.cpp Outdated Show resolved Hide resolved
src/Corrade/Utility/Directory.cpp Outdated Show resolved Hide resolved
src/Corrade/Utility/Directory.cpp Outdated Show resolved Hide resolved
src/Corrade/Utility/Directory.cpp Outdated Show resolved Hide resolved
src/Corrade/Utility/Test/DirectoryTest.cpp Outdated Show resolved Hide resolved
src/Corrade/Utility/Test/DirectoryTest.cpp Outdated Show resolved Hide resolved
src/Corrade/Utility/Directory.cpp Outdated Show resolved Hide resolved
@mosra mosra added this to the 2020.0a milestone Mar 14, 2020
@mosra mosra added this to TODO in Utility via automation 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
src/Corrade/Utility/CMakeLists.txt Outdated Show resolved Hide resolved
src/Corrade/Utility/Directory.cpp Outdated Show resolved Hide resolved
src/Corrade/Utility/Implementation/WindowsError.cpp Outdated Show resolved Hide resolved
src/Corrade/Utility/Implementation/WindowsError.cpp Outdated Show resolved Hide resolved
src/Corrade/Utility/Test/DirectoryTest.cpp Outdated Show resolved Hide resolved
@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
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
Utility automation moved this from TODO to Done Mar 21, 2020
@mosra
Copy link
Owner

mosra commented Mar 21, 2020

Thanks! 👍

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

Successfully merging this pull request may close these issues.

None yet

3 participants