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

Strip trailing dir separator for translated file paths in ITunesLoader #952

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Poeloe
Copy link
Contributor

@Poeloe Poeloe commented Nov 19, 2024

Fixes #947

@Poeloe Poeloe self-assigned this Nov 19, 2024
Copy link

codecov bot commented Nov 19, 2024

Codecov Report

Attention: Patch coverage is 0% with 1 line in your changes missing coverage. Please review.

Project coverage is 77.82%. Comparing base (d6eb12e) to head (cc46627).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
dissect/target/loaders/itunes.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #952   +/-   ##
=======================================
  Coverage   77.82%   77.82%           
=======================================
  Files         323      323           
  Lines       27647    27647           
=======================================
  Hits        21517    21517           
  Misses       6130     6130           
Flag Coverage Δ
unittests 77.82% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


🚨 Try these New Features:

dissect/target/loaders/itunes.py Outdated Show resolved Hide resolved
@@ -288,7 +288,7 @@ def translate_file_path(domain: str, relative_path: str) -> str:
package_name = ""
Copy link
Contributor

Choose a reason for hiding this comment

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

could you also make a test to show this behaviour?

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.

iTunes DOMAIN_TRANSLATION path not visible in target-shell
2 participants