refactor: Rename fs::path::u8string() to fs::path::utf8string()

This commit is contained in:
MarcoFalke
2023-12-14 13:23:32 +01:00
parent 856c88776f
commit 6666713041
10 changed files with 29 additions and 23 deletions

View File

@@ -1406,7 +1406,7 @@ A few guidelines for introducing and reviewing new RPC interfaces:
- *Rationale*: User-facing consistency.
- Use `fs::path::u8string()` and `fs::u8path()` functions when converting path
- Use `fs::path::u8string()`/`fs::path::utf8string()` and `fs::u8path()` functions when converting path
to JSON strings, not `fs::PathToString` and `fs::PathFromString`
- *Rationale*: JSON strings are Unicode strings, not byte strings, and