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

refactor(os): make read_file_string() param const #543

Merged
merged 2 commits into from
Mar 27, 2023

Conversation

aloisklink
Copy link
Contributor

Make read_file_string()'s path param const, since we don't change it in the function.

Make `read_file_string()`'s `path` param `const`, since we don't
change it.
@aloisklink aloisklink added the refactor Refactoring code label Mar 27, 2023
@codecov
Copy link

codecov bot commented Mar 27, 2023

Codecov Report

Merging #543 (69f5101) into main (34775ac) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             main     #543   +/-   ##
=======================================
  Coverage   54.14%   54.14%           
=======================================
  Files         144      144           
  Lines       21036    21036           
=======================================
  Hits        11389    11389           
  Misses       9647     9647           
Impacted Files Coverage Δ
src/utils/os.h 100.00% <ø> (ø)
src/utils/os.c 56.76% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@aloisklink aloisklink added this pull request to the merge queue Mar 27, 2023
Merged via the queue into main with commit 1e3bfe4 Mar 27, 2023
@aloisklink aloisklink deleted the refactor/os-make-read_file_string-const branch March 27, 2023 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Refactoring code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants