Pst item storage structure - #4
Merged
Merged
Conversation
- Contacts exported as vCard 3.0 with FN, N, ORG, EMAIL, TEL, ADR, BDAY
- Appointments exported as iCalendar 2.0 with VEVENT
- Notes (Message items in folders containing 'note') exported as plain text
- Same storage structure as .eml: {checksum}-{id}.{ext} in folder hierarchy
- readpst fallback counts .vcf/.ics/.txt when present
- Update tests to count all extracted file types
Co-authored-by: Andrey Oblivantsev <eslider@gmail.com>
|
Cursor Agent can help with this pull request. Just |
Co-authored-by: Andrey Oblivantsev <eslider@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extend PST import to store contacts as .vcf, calendars as .ics, and notes as .txt, aligning with the existing .eml storage structure.
This change leverages
go-pst'sAppointmentandContactproperty structs. Appointment subjects and bodies are extracted viaPropertyContext. Sticky notes (IPM.StickyNote) are treated as messages and saved as.txtfiles if their folder path includes "note". The storage structure for these new item types mirrors that of.emlfiles.