Repository navigation
Export names: id tail, refused file names, case-folded pairs, no links in records (3.24.3) - #50
Merged
Merged
Conversation
… pairs, no links in records The id tail counts code points with the dash rule of the folder spec. A file name a disk would refuse (a device name, one of <>:"|?*, a control character, over 255 bytes), and two names of one type that are one name once folded (NFC, then simple case folding), are left out and named instead of stopping the export part-way or leaving one file. A link inside records/ is left out, never followed. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…e point order, reasons A records/RECORDS.json that is a link stops the read instead of reading as no manifest. A records/ folder that is itself a link is not read. A file name with half a character is refused. The short name goes to the lower id in code point order. A collision reason no longer blames case alone, and an export with nothing left says why. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… records/ itself Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.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.
Export as OnlyWorlds folder: what an element's file may be named from its id, and what a records link may carry out.
<>:"|?*, a control character, half a character, over 255 bytes) is left out and named in the report. Before, one such id stopped the export part-way and left a partial folder.records/(a file, a folder,records/itself) is not followed on desktop: it is left out and named. Arecords/RECORDS.jsonthat is a link stops the read, so no private producer travels by guess. Before, an export copied the bytes of any file a link pointed to.Tests: 1199 pass; each new test goes red with its change undone. Tried in a real vault on Windows: the new export walk (5 of 5, 0 of 5 on 3.24.2), the export paths walk, the four-notes walk (29), the local chapter walk (15) and the made-import walk (60). Not tried on iOS, Android, macOS or Linux; the link check is desktop only.
🤖 Generated with Claude Code