Skip to content

Conversation

@andrius-puksta-sensmetry
Copy link
Collaborator

@andrius-puksta-sensmetry andrius-puksta-sensmetry commented Dec 31, 2025

Also use camino-tempfile instead of tempfile to get UTF-8 paths for tempfiles.

Closes #136.

Copy link
Collaborator

@victor-linroth-sensmetry victor-linroth-sensmetry left a comment

Choose a reason for hiding this comment

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

Question: Should wrapfs also be converted to camino paths/pathbufs? If there is nothing hindering us from doing this it seems like it could make things a bit more concise and uniform.

@andrius-puksta-sensmetry
Copy link
Collaborator Author

Question: Should wrapfs also be converted to camino paths/pathbufs? If there is nothing hindering us from doing this it seems like it could make things a bit more concise and uniform.

I left some of them using std Path because we use std paths returned from dirs crate to call wrapfs. On second thought, though, since this is the only use of std paths remaining, I'll just call the std API directly to avoid a verbose conversion.

@victor-linroth-sensmetry
Copy link
Collaborator

victor-linroth-sensmetry commented Jan 14, 2026

I left some of them using std Path because we use std paths returned from dirs crate to call wrapfs. On second thought, though, since this is the only use of std paths remaining, I'll just call the std API directly to avoid a verbose conversion.

Long term I'm considering removing the dirs dependency anyway, since we probably want more fine grained control over where to load config files, but there's no urgency at the moment.

Signed-off-by: Andrius Pukšta <andrius.puksta@sensmetry.com>
Signed-off-by: Andrius Pukšta <andrius.puksta@sensmetry.com>
Signed-off-by: Andrius Pukšta <andrius.puksta@sensmetry.com>
Signed-off-by: Andrius Pukšta <andrius.puksta@sensmetry.com>
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.

Require all paths to be UTF-8

3 participants