Add support for handling cloud reparse points#44
Conversation
Schamper
left a comment
There was a problem hiding this comment.
Do you have test data available for unit tests?
|
Added a cloud |
Can't really think of a super clean way, maybe:
|
|
@Schamper could you enable LFS for the |
|
LFS has been enabled. |
|
Thanks, moved to LFS in 5f08eda. |
Schamper
left a comment
There was a problem hiding this comment.
Additional question, is there any structure we can parse, like we do with symlink and mount points?
dissect.ntfs/dissect/ntfs/attr.py
Lines 500 to 503 in ea6a0ae
Yes, it seems like there is a Cloud/OneDrive-related extension on the The only public reference I could find is https://github.com/nc-36/ntfs3g-onedrive-plugin/blob/master/src/onedrive.c#L77-L85, which seems to be incorrect for the values in our test data. |
|
@JSCU-CNI can you create an issue to further reverse that? |
|
See #45. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #44 +/- ##
==========================================
+ Coverage 86.72% 88.41% +1.69%
==========================================
Files 11 11
Lines 1250 1226 -24
==========================================
Hits 1084 1084
+ Misses 166 142 -24
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Attempts to fix #43 by adding a
MftRecord.is_cloud_filemethod. Does not differentiate between offline-available and online-backed files.For example we have the following OneDrive files:
Note that synced text files will have their regular streams, while
created-online.txtwill be empty: