Skip to content

Commit a9a77f3

Browse files
authored
basic-ws sync comments
1 parent 9090665 commit a9a77f3

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

platform/File.roc

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -251,8 +251,8 @@ is_writable! = |path_str|
251251
## This uses [rust's std::fs::Metadata::accessed](https://doc.rust-lang.org/std/fs/struct.Metadata.html#method.accessed).
252252
## Note that this is [not guaranteed to be correct in all cases](https://doc.rust-lang.org/std/fs/struct.Metadata.html#method.accessed).
253253
##
254-
## NOTE: these functions will not work if basic-cli was built with musl, which is the case for the normal tar.br URL release.
255-
## See https://github.com/roc-lang/basic-cli?tab=readme-ov-file#running-locally to build basic-cli without musl.
254+
## NOTE: thise function will not work if the platform was built with musl, which is the case for the normal tar.br URL release.
255+
## See "Running Locally" in the README.md file to build without musl.
256256
time_accessed! : Str => Result Utc [PathErr IOErr]
257257
time_accessed! = |path_str|
258258
Host.file_time_accessed!(InternalPath.to_bytes(Path.from_str(path_str)))
@@ -263,8 +263,8 @@ time_accessed! = |path_str|
263263
##
264264
## This uses [rust's std::fs::Metadata::modified](https://doc.rust-lang.org/std/fs/struct.Metadata.html#method.modified).
265265
##
266-
## NOTE: these functions will not work if basic-cli was built with musl, which is the case for the normal tar.br URL release.
267-
## See https://github.com/roc-lang/basic-cli?tab=readme-ov-file#running-locally to build basic-cli without musl.
266+
## NOTE: this function will not work if the platform was built with musl, which is the case for the normal tar.br URL release.
267+
## See "Running Locally" in the README.md file to build without musl.
268268
time_modified! : Str => Result Utc [PathErr IOErr]
269269
time_modified! = |path_str|
270270
Host.file_time_modified!(InternalPath.to_bytes(Path.from_str(path_str)))
@@ -275,8 +275,8 @@ time_modified! = |path_str|
275275
##
276276
## This uses [rust's std::fs::Metadata::created](https://doc.rust-lang.org/std/fs/struct.Metadata.html#method.created).
277277
##
278-
## NOTE: these functions will not work if basic-cli was built with musl, which is the case for the normal tar.br URL release.
279-
## See https://github.com/roc-lang/basic-cli?tab=readme-ov-file#running-locally to build basic-cli without musl.
278+
## NOTE: this function will not work if the platform was built with musl, which is the case for the normal tar.br URL release.
279+
## See "Running Locally" in the README.md file to build without musl.
280280
time_created! : Str => Result Utc [PathErr IOErr]
281281
time_created! = |path_str|
282282
Host.file_time_created!(InternalPath.to_bytes(Path.from_str(path_str)))
@@ -352,4 +352,4 @@ read_line! = |@Reader({ reader, path })|
352352
size_in_bytes! : Str => Result U64 [PathErr IOErr]
353353
size_in_bytes! = |path_str|
354354
Host.file_size_in_bytes!(InternalPath.to_bytes(Path.from_str(path_str)))
355-
|> Result.map_err(|err| PathErr(InternalIOErr.handle_err(err)))
355+
|> Result.map_err(|err| PathErr(InternalIOErr.handle_err(err)))

0 commit comments

Comments
 (0)