Skip to content

Comments

626 support globbing in rust#627

Merged
hulto merged 9 commits intomainfrom
626-support-globbing-in-rust
Feb 19, 2024
Merged

626 support globbing in rust#627
hulto merged 9 commits intomainfrom
626-support-globbing-in-rust

Conversation

@hulto
Copy link
Collaborator

@hulto hulto commented Feb 19, 2024

What type of PR is this?

/kind feature

What this PR does / why we need it:

Adds glob (*) support to file.read and file.list

Which issue(s) this PR fixes:

Fixes #626

@hulto hulto added the eldritch Related to the Eldritch language label Feb 19, 2024
@hulto hulto linked an issue Feb 19, 2024 that may be closed by this pull request
KCarretto
KCarretto previously approved these changes Feb 19, 2024
let mut sys: System = System::new();
sys.refresh_users_list();
let file_name = path_entry
.file_name()
Copy link
Collaborator

Choose a reason for hiding this comment

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

🤮

@KCarretto KCarretto self-requested a review February 19, 2024 22:00
@KCarretto
Copy link
Collaborator

Needs to be fixed for windows: lib\eldritch\src\file\list_impl.rs:94:12

@codecov
Copy link

codecov bot commented Feb 19, 2024

Codecov Report

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

Comparison is base (4326c72) 71.00% compared to head (0eaa845) 71.20%.

Files Patch % Lines
implants/lib/eldritch/src/file/list_impl.rs 88.04% 11 Missing ⚠️
implants/lib/eldritch/src/file/read_impl.rs 91.42% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #627      +/-   ##
==========================================
+ Coverage   71.00%   71.20%   +0.19%     
==========================================
  Files         170      170              
  Lines       11414    11500      +86     
==========================================
+ Hits         8104     8188      +84     
- Misses       3096     3098       +2     
  Partials      214      214              

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

@hulto hulto merged commit e23defb into main Feb 19, 2024
@hulto hulto deleted the 626-support-globbing-in-rust branch February 19, 2024 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

eldritch Related to the Eldritch language

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support globbing in rust

2 participants