Skip to content

make pear dump consistent for file and pear#983

Open
Didericis wants to merge 3 commits intomainfrom
make-pear-dump-consistent
Open

make pear dump consistent for file and pear#983
Didericis wants to merge 3 commits intomainfrom
make-pear-dump-consistent

Conversation

@Didericis
Copy link
Contributor

  • mirror local files from the root of the pear project

@Didericis Didericis force-pushed the make-pear-dump-consistent branch from ab5cd3c to 2037de0 Compare January 16, 2026 03:56
? ''
: isFile
? path.basename(parsed.pathname)
: prefix
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Found this nested ternary a bit hard to read/moved the prefix and pathname declarations up

let prefix
let drive

if (!isFileLink) {
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Effectively the same as if (corestore), but makes it so we can declare what the prefix and the drive should be for file protocol vs pear protocol

@Didericis Didericis force-pushed the make-pear-dump-consistent branch 17 times, most recently from d46cb09 to 82f1f7b Compare January 16, 2026 21:10
- mirror local files from the root of the pear project
@Didericis Didericis force-pushed the make-pear-dump-consistent branch from 82f1f7b to d116b31 Compare January 16, 2026 21:16
@Didericis Didericis force-pushed the make-pear-dump-consistent branch from 59c046b to 9566aaa Compare January 22, 2026 16:58
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.

1 participant