diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-12 18:12:53 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-12 18:12:53 -0400 |
| commit | a3c4e0a82d5b56e280cbf72af2ecf5a990b1f577 (patch) | |
| tree | e7b386efbe57d6c922130f56e056d62d8ee012ad /docs/paths.md | |
| parent | 904917a2bd3b2e03bf2c399b5bc5f5e357d404a2 (diff) | |
Rename `without_escaping()` -> `from_text()`
Diffstat (limited to 'docs/paths.md')
| -rw-r--r-- | docs/paths.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/paths.md b/docs/paths.md index e39a42ce..6e8d6fc6 100644 --- a/docs/paths.md +++ b/docs/paths.md @@ -33,7 +33,7 @@ not be trustworthy and interpret that value as a single path component name, i.e. the name of a directory or file. If a user were to supply a value like `..` or `foo/baz`, it would risk navigating into a directory other than intended. Paths can be created from text with slashes using -`Path.without_escaping(text)` if you need to use arbitrary text as a file path. +`Path.from_text(text)` if you need to use arbitrary text as a file path. ## Path Methods |
