Skip to content

More file path APIs #70

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

Merged
merged 6 commits into from
Jun 9, 2020
Merged

More file path APIs #70

merged 6 commits into from
Jun 9, 2020

Conversation

chapulina
Copy link
Contributor

Add a couple of functions that I'm using to tackle gazebosim/gz-sim#123 :

  • common::SystemPaths::FilePathEnv - not to make assumptions about the current value, since we can't be sure common::SystemPaths::SetFilePathEnv hasn't been called.
  • common::systemPaths - we've been exposing function by function of the global instance of SystemPaths though Utils. Instead, just expose the pointer so the functions can be called directly.

Signed-off-by: Louise Poubel <[email protected]>
@chapulina chapulina requested a review from mjcarroll as a code owner June 3, 2020 00:09
@github-actions github-actions bot added 🏰 citadel Ignition Citadel 📜 blueprint Ignition Blueprint 🔮 dome Ignition Dome labels Jun 3, 2020
@chapulina chapulina self-assigned this Jun 3, 2020
@codecov
Copy link

codecov bot commented Jun 3, 2020

Codecov Report

Merging #70 into ign-common3 will increase coverage by 0.01%.
The diff coverage is 100.00%.

Impacted file tree graph

@@               Coverage Diff               @@
##           ign-common3      #70      +/-   ##
===============================================
+ Coverage        73.71%   73.72%   +0.01%     
===============================================
  Files               68       68              
  Lines             9283     9287       +4     
===============================================
+ Hits              6843     6847       +4     
  Misses            2440     2440              
Impacted Files Coverage Δ
include/ignition/common/Util.hh 100.00% <ø> (ø)
src/SystemPaths.cc 88.03% <100.00%> (+0.10%) ⬆️
src/Util.cc 83.79% <100.00%> (+0.18%) ⬆️

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 3d54f5d...393a0e1. Read the comment docs.

Copy link
Contributor

@mjcarroll mjcarroll left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few grammatical suggestions and a question.

chapulina and others added 3 commits June 8, 2020 09:55
@chapulina chapulina merged commit 7957176 into ign-common3 Jun 9, 2020
@chapulina chapulina deleted the chapulina/file_path branch June 9, 2020 23:42
mjcarroll pushed a commit that referenced this pull request Oct 14, 2020
Signed-off-by: Louise Poubel <[email protected]>
mjcarroll pushed a commit that referenced this pull request Oct 19, 2020
Signed-off-by: Louise Poubel <[email protected]>
Signed-off-by: Michael Carroll <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📜 blueprint Ignition Blueprint 🏰 citadel Ignition Citadel 🔮 dome Ignition Dome
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants