We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e65ab10 commit aea9057Copy full SHA for aea9057
platform/File.roc
@@ -216,7 +216,7 @@ is_sym_link! = |path_str|
216
217
## Returns true if the path exists on disk.
218
##
219
-## This uses [rust's std::path::exists](https://doc.rust-lang.org/std/path/struct.Path.html#method.exists).
+## This uses [rust's std::path::try_exists](https://doc.rust-lang.org/std/path/struct.Path.html#method.try_exists).
220
exists! : Str => Result Bool [PathErr IOErr]
221
exists! = |path_str|
222
Host.file_exists!(InternalPath.to_bytes(Path.from_str(path_str)))
0 commit comments