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

easy: add a function to list directory paths #161

Merged
merged 1 commit into from
Nov 4, 2023

Conversation

Gottox
Copy link
Owner

@Gottox Gottox commented Nov 4, 2023

This change adds sqsh_easy_directory_list_path(), a function to list the contents of a directory as a list of file paths. This enables the user to get a list of paths that can be directly passed to other easy functions like sqsh_easy_file_content().

This change also adds a test for the new function.

This change adds `sqsh_easy_directory_list_path()`, a function to list
the contents of a directory as a list of file paths. This enables the
user to get a list of paths that can be directly passed to other easy
functions like `sqsh_easy_file_content()`.

This change also adds a test for the new function.
Copy link

sonarqubecloud bot commented Nov 4, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

Copy link

codecov bot commented Nov 4, 2023

Codecov Report

Attention: 16 lines in your changes are missing coverage. Please review.

Comparison is base (feb317f) 60.42% compared to head (6ea3711) 60.50%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #161      +/-   ##
==========================================
+ Coverage   60.42%   60.50%   +0.07%     
==========================================
  Files          59       59              
  Lines        4700     4750      +50     
  Branches      708      719      +11     
==========================================
+ Hits         2840     2874      +34     
- Misses       1455     1462       +7     
- Partials      405      414       +9     
Files Coverage Δ
libsqsh/src/easy/directory.c 69.73% <68.00%> (-3.35%) ⬇️

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Gottox Gottox merged commit 071bceb into main Nov 4, 2023
@Gottox Gottox deleted the add/sqsh_easy_directory_list_path branch November 18, 2023 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant