Skip to content

Conversation

@Mnem42
Copy link
Collaborator

@Mnem42 Mnem42 commented Jan 26, 2026

General changes to loading (+ #119, since I made another goof)

Mnem42 and others added 30 commits January 20, 2026 22:11
glob is for using the patterns
how did this happen
This changes it to use serde(with), since then checking the pattern for errors is done when the config is being parsed with no extra calls/remembering needed.

And also general other stuff.
This function is now useless
The splitting is really just moving the stuff for app finding somewhere else
The variable here will always be unused on windows
Mainly so that all the defs are somewhere other than the main business logic
I "kind of" accidentally used TSDoc syntax for docstrings
This uses the open crate instead of custom functions
Too much noise for the main log file
It's fine if it's just unwrapped, since if it gets here, it's already been checked.
Mnem42 added 4 commits January 23, 2026 20:26
The syntax is <path>[:<depth>] for a specified depth, and if the depth specifier is ommited, the depth is 1.

Also makes it put known folders in windows into the include key in the config by default, to keep everything in one place.
Removes the trailing slash for Local/AppData/Programs returned by get_known_paths.
@Mnem42 Mnem42 mentioned this pull request Jan 26, 2026
@Mnem42 Mnem42 marked this pull request as ready for review January 26, 2026 22:40
@Mnem42 Mnem42 marked this pull request as draft January 26, 2026 22:40
@Mnem42 Mnem42 marked this pull request as ready for review January 27, 2026 07:35
Copy link
Owner

@unsecretised unsecretised left a comment

Choose a reason for hiding this comment

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

LGTM

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.

2 participants