Skip to content

Replace all file paths in code with PathBuf instead of &str or String #1233

@SteveL-MSFT

Description

@SteveL-MSFT

Prerequisites

  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.

Summary

Current code passes file paths around as strings, but converting from PathBuf to a string results in lossy (unicode) conversions. Paths should be passed around internally as PathBuf

Steps to reproduce

N/A

Expected behavior

N/A

Actual behavior

N/A

Error details

Environment data

N/A

Version

3.2

Visuals

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions